摘要: 1、安装依赖 npm install vue2-ace-editor 2、导入依赖,注册为子组件 import Editor from 'vue2-ace-editor' //在页面组件中通过components ,注册导入的组件 components:{ Editor } 3、组件使用 <edit 阅读全文
posted @ 2021-04-23 11:29 强小白 阅读(445) 评论(0) 推荐(0) 编辑