mavonEditor
A nice vue.js markdown editor.Support WYSIWYG editing mode, reading mode and so on.
Install mavon-editor
$ npm install mavon-editor --save
package.json
"mavon-editor": "^1.3.5"
Use
// import with ES6
import Vue from 'vue'
import mavonEditor from 'mavon-editor'
// require with Webpack/Node.js
var Vue = require('vue')
var mavonEditor = require('mavon-editor')
// use
Vue.use(mavonEditor)
// or use with component(ES6)
import { mavonEditor } from 'mavon-editor'
export default {
components: {
mavonEditor
}
}