You are using the runtime-only build of Vue ...
文章目录
You are using the runtime-only build of Vue where the template compiler
由vue-cli2 升级到 vue-cli3 界面出现如下错误
vue有两种形式的代码 compiler(模板)模式和runtime模式(运行时)
在vue.config.js 中修改配置如下
runtimeCompiler: true,
重新启动,问题修复

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论