webpack配置“.vue”文件报错:vue-loader was used without the corresponding plugin. Make sure to include VueL
我们在webpack中处理.vue结尾的文件时需要运行下面命令:npminstallvue-loadervue-template-compiler--save-dev在配置文件配置:constpath=require("path");module.exports={mode:"development",entry:"./main.js",output:{filename:"bundle.js",p