Do vue projects always report errors when using sass?

1.cnpm install-- save-dev sass-loader
cnpm install-- save-dev node-sass, these two dependent packages are also installed
2.webpack.base.conf.js. Configuration
{
test: / .sass $/,
loaders: ["style"," css", "sass"]
}

has also been added to the rules.

3. Lang= "scss" and < style lang= "scss" > are also added to the tag. Finally, an error is reported when running npm run dev

.

clipboard.png

Mar.14,2021
Menu