[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 )
当出现如下问题时:
在webpack配置文件中添加:
(跟module,input等属性同一级)
resolve: {
alias: {
'vue': 'vue/dist/vue.js'
}
}
即可