Webstorm 中 antd less 配置问题

1.  npm install less -g

2.Webstrom 中file ->settings -> Tools -> File Watchers ->

   点击右侧  +   添加less,

3.双击less,设置

  Program:C:\Program Files\nodejs\node_global\lessc.cmd

Apply->Ok

3.1   若上面的路径找不到,则需要安装lessc

     cnpm install -g less

     lessc -v 

less安装好,则lessc 也默认装好

 

https://www.cnblogs.com/geekliving/p/6992252.html 

http://www.cnblogs.com/haley168/p/webstorm_less.html

 

posted @ 2018-11-19 10:59  sjbhz  阅读(291)  评论(0编辑  收藏  举报