0.2.1 • Published 6 years ago

@sysco-middleware/vue-ace v0.2.1

Weekly downloads
1
License
-
Repository
-
Last release
6 years ago

vue-ace

vue-ace is a wrapper for Ace in vue. You have to seperately install Ace in your project.

Install

  • npm i --save @sysco-middleware/vue-ace brace

Getting started

Create a new component and extend it with the vue-ace module.

// CodeEditor.js
import Ace from '@sysco-middleware/vue-ace'

export default {
  extends: Ace,
  mounted () {
    // Initialize a new ACE editor
    this.createEditor({
      // Options
    })
  }
}