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.
错误日志
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.config.js文件夹,加上如下代码即可。vue cli 3.10.0
module.exports = {
runtimeCompiler: true
}