vue-codemirror地址4.0.6MIT script-loader地址0.7.2MIT 2.组件代码 Codemirror 3.组件使用 <Codemirrorv-model='form.content'></Codemirror> import Codemirror from '@/components/Codemirror'exportdefault{ components: { Codemirror, }, data() {return{ form: { content:null, }, } }, } ...