Module not found: Error: Can‘t resolve ‘sass-loader‘ in...

"sass-loader"报错!!!

Failed to compile.

./src/main.js
Module not found: Error: Can't resolve 'sass-loader' in 'E:\study_software\JetBrains\WebStorm2021\WebstormProjects\vue-element-admin-master'

Module not found: Error: Can‘t resolve ‘sass-loader‘ in..._第1张图片

npm install sass-loader sass webpack --save-dev
npm install --save-dev node-sass
或者
cnpm install node-sass --save

sass-loader:https://www.npmjs.com/package/sass-loader

你可能感兴趣的:(web前端,sass,vue.js,css)