浏览器控制的报错
[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