在实用Vue全家桶+mint-ui 开发时  配置sass出现问题

@ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":true}!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-4164dc68","scoped":true,"hasInlineConfig":false}!./node_modules/_sass-loader@6.0.6@sass-loader/lib/loader.js?{"indentedSyntax":true,"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/components/swiper/iconSwiper.vue 4:14-432 13:3-17:5 14:22-440

 @ ./src/components/swiper/iconSwiper.vue

 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/select/select.vue

 @ ./src/views/select/select.vue

 @ ./src/router/index.js

 @ ./src/main.js

 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js



解决办法:

当前目录(项目)下:

  npm install stylus-loader css-loader style-loader --save-dev

 npm run dev 。


Logo

前往低代码交流专区

更多推荐