iview引入css时报错
引入时出现这个错误,在vue.config.js中也配置了 svg-sprite-loader也不行。。
in ./node_modules/iview/dist/styles/fonts/ionicons.svg?v=3.0.0Syntax Error: ExtractPluginMissingException: svg-sprite-loader exception. svg-sprite-loader in extract mode requires the corresponding plugin
@ ./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??ref--6-oneOf-3-2!./node_modules/iview/dist/styles/iview.css 7:36-75
@ ./node_modules/iview/dist/styles/iview.css
@ ./src/main.js
@ multi (webpack)-dev-server/client?https://localhost.longfor.uat:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
以上是 iview引入css时报错 的全部内容, 来源链接: utcz.com/p/936039.html