win环境下的webstorm安装激活自行百度,Mac下的激活安装请看https://blog.csdn.net/taoqidejingling/article/details/83856177
webstorm下配置scss编译成wxss。
安装好后看图:file---Settings
弹出Settings窗口---选择Tools下的file Watchers---点击加号---弹出小窗口选择SCSS
需要更改的地方有Program(程序路径),Arguments、Output paths to refresh(刷新输出路径),改好后选择ok---apply---ok就可以啦。
Arguments:
--no-cache --update $FileName$:$FileNameWithoutExtension$.wxss
Output paths to refresh:
$FileNameWithoutExtension$.wxss:$FileNameWithoutExtension$.wxss.map
接下来就是新建文件测试是否配置成功。