[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'
}
}
即可