编译器
- 安装mavon-editor编辑器器
npm install mavon-editor --save
- Main.js中引⼊入编辑器器
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
Vue.use(mavonEditor)
- 编辑器器设置
<mavon-editor v-model="content"
defaultOpen="preview"
:toolbarsFlag="false"
:subfield="false"></mavon-editor>
本文来自博客园,作者:zjxgdq,转载请注明原文链接:https://www.cnblogs.com/zjxzhj/p/14884141.html