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

相關文章
相關標籤/搜索