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

  在webpack.config.js配置文件中加入下面代码,

resolve: {
        alias: {
            'vue$': 'vue/dist/vue.esm.js' //内部为正则表达式  vue结尾的
        }
    },

 

参考:https://blog.csdn.net/wxl1555/article/details/83187647

相关文章:

  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
猜你喜欢
  • 2022-12-23
  • 2021-12-25
  • 2021-11-18
  • 2021-07-08
  • 2021-09-11
  • 2021-08-28
  • 2021-12-01
相关资源
相似解决方案