### Use
#### method 1
`index.js`:
```javascript
// Global Registration
// import with ES6
import Vue from 'vue'
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
// use
Vue.use(mavonEditor)
new Vue({
'el': '#main',
data() {
return { value: '' }
}
})
```
`index.html`
```html
// The same below
```
#### method 2
`index.js`:
```javascript
// Global Registration
// require with Webpack/Node.js
...
var mavonEditor = require('mavon-editor')
import 'mavon-editor/dist/css/index.css'
...
```
#### method 3
`editor.vue`:
```javascript
```
`index.js`:
```javascript
// The same below
import Vue from 'vue';
var editor = require('./editor.vue');
new Vue({
el: '#main',
render: h => h(editor)
});
```
`index.html`:
```html
// The same below
```
#### method 4
`editor.vue`:
```javascript
...
```