构建vue-cli 安装vue-loader@15.9.1版本出错

569 阅读1分钟
执行命令 yarn dev || npm run dev时候报错如下:
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack co                  
nfig.  
                                                                                                                        

解决办法: 回滚到 vue-loader@13.3.0

 执行命令如下:
yarn add vue-loader@13.3.0 -D  || npm install vue-loader@13.3.0 -D