vue常见问题
1、vue.runtime.esm.js:574 [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 compil
·
1、vue.runtime.esm.js:574 [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中添加如下配置就可以解决:
module.export{
...
resolve:{
alias:{
'vue$':'vue/dist/vue.js'
}
}
}
更多推荐
已为社区贡献1条内容
所有评论(0)