SCSS Autoprefixer in PhpStorm

安稳与你 提交于 2021-01-27 21:28:39

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!