Webstorm 中 antd less 配置问题

1.  npm install less -ghtml

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

   点击右侧  +   添加less,web

3.双击less,设置npm

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

Apply->Okwebstorm

3.1   若上面的路径找不到,则须要安装lesscorm

     cnpm install -g lesshtm

     lessc -v blog

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

 

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

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

相关文章
相关标签/搜索