问题
I am trying to configure SASS/SCSS Autoprefixer in phpstorm and no solution here or anywhere on google is working for me, any help is appreciated...
I have tried many options including making a custom file watcher and using postcss-cli autoprefixer, but not able to get it right.
回答1:
As it's written in this comment, there is no built-in support for autoprefixer, and it can hardly be expected in near future. If you miss it, please vote for WEB-37.
You can install the autoprefixer (npm install postcss-cli autoprefixer -g
) and set it up as a file watcher, for example
You can also try using sass-prefix-mixins in your code
来源:https://stackoverflow.com/questions/60415721/scss-autoprefixer-in-phpstorm