2019年5月

1. node环境

下载:http://nodejs.cn/download/

2. node-sass安装

npm install -g node-sass

3. 启动监听命令

node-sass -w xxx.scss xxx.css --output-style expanded

4. 风格选项

nested:嵌套缩进的css代码,它是默认值

expanded:没有缩进的、扩展的css代码

compact:简洁格式的css代码

compressed:压缩后的css代码