【webstorm使用手册】如何让webstorm支持nextcss基础语法?

  • 第一步, 安装 PostCss插件

如果不知道如何安装插件,参看:http://www.cnblogs.com/codelovers/p/7048113.html

  • 第二步,设置文件类型解析方式

打开Files->Settings->Editor->File Types,在PostCss中添加Registered Patterns, *.pccs, *.css。具体添加*.pss,还是*.css,根据自己的文件后缀名决定。

延伸:如何让文件按照自己设定的类型进行解析?使用File Types。

原文地址:https://www.cnblogs.com/codelovers/p/7048127.html