[Vue warn]: You are using the ru

2021-04-12  本文已影响0人  秦语川

[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
}

即可解决!

上一篇下一篇

猜你喜欢

热点阅读