scss编译
1.考拉编译
2.命令行编译
首先安装ruby
打开命令行 移除原来的gem源
gem sources --remove https://rubygems.org/
添加新的gem源
$ gem sources -a https://gems.ruby-china.com/
安装sass
gem install sass
通过 sass -v命令确认是否安装成功
进入到需要的文件夹中进行监听
sass --watch input.scss:output.css
也可以监听文件夹
sass --watch css:output
此处的css为包裹scss或sass的文件夹
output为输出文件夹
3.webstorm编译
同less一样