Open PecoKael opened 7 years ago
npm install node-sass sass-loader
Thanks @a459295360 :)
why isn't this installed by default?
Edit: It's not installed by default as not everyone uses sass, however it would be nice to have an option to select a pre-processor (can be skipped)
@lau-a Agree. When initializing a project with the CLI, the question "add a css pre-processor [scss, less, stylus]?" would be nice
Thank @a459295360
to excute “npm install node-sass sass-loader” can do, but why there was error "!vue-style-loader!css-loader"?
@lazycece npm i vue-style-loader css-loader
make sure the directory names don't contain '!' it will throw this error
hey, if you want to use stylus
, please:
npm install stylus stylus-loader --save-dev
I got error in version sass-loader: 8.x
I do reinstall and work for me. npm uninstall sass-loader npm install sass-loader@7.3.1 --save-dev
add below in your webpack
I got error in version sass-loader: 8.x
I do reinstall and work for me. npm uninstall sass-loader npm install sass-loader@7.3.1 --save-dev
add below in your webpack
Thank you.... I hate those NPM versions........ hateeeeeee but still using...
It still not work...
This dependency was not found:
To install it, you can run: npm install --save !!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../._vue-loader@12.2.1@vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-6d1be154","scoped":false,"hasInlineConfig":false}!node_modules/swiper/dist/css/swiper.css