npm install node-sass --save-dev //安装node-sass npm install sass-loader --save-dev //安装sass-loader npm install style-loader --save-dev //安装style-loader
在vue项目全局中引入scss
1.全局引用时需要安装sass-resources-loader
npm install sass-resources-loader --save-dev
原文地址:https://www.cnblogs.com/dekevin/p/12332789.html
时间: 2024-10-10 19:16:20