Sass filewatcher for webstorm

前端 未结 10 989
挽巷
挽巷 2020-12-30 12:30

I am trying to use sass in a NodeJS project and this is the library I installed with nodejs

https://www.npmjs.org/package/node-sass

I am using webstorm for t

10条回答
  •  情歌与酒
    2020-12-30 13:26

    First you need install nodejs and then use npm install -g node-sass. After that set following things to webstorm scss filewatcher:

    • Program: node-sass.cmd
    • Arguments: $FileName$ $FileNameWithoutExtension$.css
    • Working directory: $FileDir$
    • Output paths for refs: $FileNameWithoutExtension$.css

提交回复
热议问题