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’
}
}
}
本文来自 吕秀军 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/jj546630576/article/details/79248794?utm_source=copy