Open luo963827954 opened 4 years ago
请问问题结局了吗
因为他走的是运行时,所以需要修改你的cue.config.js ` module.exports = { runtimeCompiler: true, configureWebpack: config => { config.resolve = { extensions: [".js", ".vue", ".json", ".css"], alias: { vue$: "vue/dist/vue.esm.js", } }; } }
`
引入方式 import VueHtml5Editor from 'vue-html5-editor'; Vue.use(VueHtml5Editor)
组件使用方式 vue-html5-editor :content="content" :height="500"
报错信息
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
found in
--->