You are using the runtime-only build of Vue where the template compiler is not available. Either pre...
记录一次Vue 错误
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 }