解决You are using the runtime-only build of Vue where the template compiler is not available. Either pre
时间:2020-03-21 16:17:43
收藏:0
阅读:1739

在webpack.config.js配置文件中加入下面代码,
resolve: { alias: { ‘vue$‘: ‘vue/dist/vue.esm.js‘ //内部为正则表达式 vue结尾的 } },
参考:https://blog.csdn.net/wxl1555/article/details/83187647
原文:https://www.cnblogs.com/laiylm/p/12539260.html
评论(0)