npm run build 页面css没加载进来

vue.esm.js:1717 Error: Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/ex... for the usage example

at Object.pitch (C:\Users\Administrator\Desktop\vueRouterExample\node_modules\_extract-text-webpack-plugin@3.0.2@extract-text-webpack-plugin\dist\loader.js:57:11)
at Object.pitch 
阅读 3k
1 个回答

你可能是配置项不对,webpack1.x 和 webpack2.x 是有区别的

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题