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一样
scss编译

相关文章:

  • 2021-10-27
  • 2021-07-21
  • 2021-07-26
  • 2022-12-23
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-12
  • 2021-11-27
  • 2022-12-23
  • 2021-05-20
相关资源
相似解决方案