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

前端 未结 5 1596
清酒与你
清酒与你 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:11

    to that, simply go your project directory and do this :

    sass --update sass-dir:assets/css
    

    with sass-dir the directory containing your actual sass files and assets/css the desired output directory.

    Hope this could help.

提交回复
热议问题