问题描述
我正在尝试在 phpstorm 中配置 SASS/SCSS Autoprefixer,这里或谷歌上的任何地方都没有解决方案对我有用,感谢任何帮助...
我尝试了很多选项,包括制作自定义文件观察器和使用 postcss-cli autoprefixer,但无法正确使用.
正如
您也可以尝试在代码中使用 sass-prefix-mixins>
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.
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
这篇关于PhpStorm 中的 SCSS 自动前缀的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!