JerryYuanJ / a-vue-app-template

:cookie: 基于vue的app模板项目,技术栈:mint-ui+vue2+vue-router+vuex+axios+echart+i18n+sass
131 stars 53 forks source link

使用vue-html5-editor时出现错误,错误的大概意思是vue的版本不对,请问有解决的办法吗? #11

Open Dengniai opened 4 years ago

Dengniai commented 4 years ago

我使用的vue-cli3.0构建的环境,在引入了vue-html5-editor后有错误出现,错误的意思就是说vue-cli3.0使用的是运行时版本,但是其中有模板需要编译因此出错[图片]

Dengniai commented 4 years ago

[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

--->

at src/views/uploadGoods.vue at src/App.vue vue.runtime.esm.js:619 [Vue warn]: Error in mounted hook: "TypeError: content is undefined" found in ---> at src/views/uploadGoods.vue at src/App.vue vue.runtime.esm.js:619 TypeError: "content is undefined" mounted vue-html5-editor.js:1254 VueJS 12