首页 > 其他 > 详细

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.

时间:2020-03-12 18:15:27      阅读:72      评论:0      收藏:0      [点我收藏+]

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

    技术分享图片



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.

原文:https://www.cnblogs.com/erlou96/p/12470130.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!