项目中使用sass预处理器

安装sass

npm install node-sass sass-loader --save

新建样式文件后缀为 .scss

在使用样式的页面引入:import  'xx.scss';

原文地址:https://www.cnblogs.com/VaeVae/p/10275924.html