Thi*_*ice 7 components sass polymer
我正在尝试使用SASS和Polymer,但我不知道如何有多个输出.
我想在自己的目录中编译每个scss文件,我不需要全局的css输出...
这个问题有解决方案吗?谢谢
只需使用:
scss --watch ROOT_FOLDER:ROOT_FOLDER
Run Code Online (Sandbox Code Playgroud)
例子:
neciu$ mkdir dir1
neciu$ mkdir dir2
neciu$ touch dir1/1.scss
neciu$ touch dir2/2.scss
neciu$ scss --watch .:.
>>> Sass is watching for changes. Press Ctrl-C to stop.
write ./dir1/1.css
write ./dir2/2.css
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2201 次 |
| 最近记录: |