less loader of antd error

新手上路,请多包涵

I can't use antd, together with this plugin
https://github.com/ant-design...

I got an error in my terminal saying cannot resolve .less file. I install less-loader and configure that in webpack, I still got the error.

I even tried this option

["import", { "libraryName": "antd", "style": "css" }]: import js and css modularly (css built files)

still cannot work, why?

阅读 3.1k
1 个回答
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题