首页 > 其他 > 详细

[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available.

时间:2020-04-30 13:54:08      阅读:53      评论:0      收藏:0      [点我收藏+]
浏览器控制的报错
[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.

 

解决办法

修改webpack配置,添加一个resolve
resolve: {
alias: {
‘vue‘: ‘vue/dist/vue.js‘
}
}
 

[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available.

原文:https://www.cnblogs.com/minnie-huang/p/12808295.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!