How to convert directory SASS/SCSS to CSS via command line?

前端 未结 5 1726
清酒与你
清酒与你 2020-12-23 11:27

I tried:

sass-convert --from scss --to css --recursive app/assets/stylesheets temp

But this only converts css to SASS, and I want the othe

5条回答
  •  鱼传尺愫
    2020-12-23 12:09

    you can use this code

    sass --watch file.sass:file.css

    or

    sass --watch folderSass:foldercss

    if you want to create css.main you can use this code

    sass --watch sass:css --style compressed

提交回复
热议问题