1.0.7 • Published 3 years ago

vue-ace-edit v1.0.7

Weekly downloads
17
License
ISC
Repository
github
Last release
3 years ago

Ace editor component for Vue

Installation

Install with npm i vue-ace-edit

Or clone the repo in your project

git clone https://github.com/jellehak/vue-ace-edit

Usage

Add the CDN build of Ace to your app

  <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.3/ace.min.js"></script>

Add the plugin:

import VueAceEdit from "vue-ace-edit"
Vue.use(VueAceEdit)

This will add two global components: AceEditor, AceEditorJson

Components

AceEditor

<AceEditor :value="`<div>Hello</div>`" mode="html"/>

AceEditorJson

Wrapper component that encode/ decodes JSON objects

<AceEditorJson :value="{hello:'cool'}" />
1.0.7

3 years ago

1.0.6

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago