You are using the runtime-only build of Vue where the template compiler is not available. Either pre...

it2025-07-20  4

记录一次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 }

最新回复(0)