vue-cli3 前端构建失败

发布于:2019-06-16 10:09:06 更新于:2019-11-10 13:11:55

需要安装一个Html编辑器提示报错

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.
您正在使用Vue的仅运行时构建,其中模板编译器不可用。
要么将模板预编译为呈现函数,要么使用编译器包含的构建。

解决方法: 在 vue.config.js 中修改

runtimeCompiler: true,

再次运行 解决问题!

评论 0

还没有评论,来抢沙发吧~