[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.
处理方式:
在vue项目下新建一个vue.config.js
module.exports = {
runtimeCompiler: true
}
即可解决!
网友评论