[vue-loader] Module parse failed: Unexpected token (2:0) You may need an appropriate loader to handle this file type.

时间:2020-04-30 13:51:23   收藏:0   阅读:2122
无法解析vue的报错
Module parse failed: Unexpected token (2:0)
You may need an appropriate loader to handle this file type.
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
 
 
原因是没有配置VueLoaderPlugin
解决办法如下
技术分享图片

原文:https://www.cnblogs.com/minnie-huang/p/12808312.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!