react之通俗易懂配置less
使用create-react-app构建react项目之后,配置less-loader,配置完了后,正常引入less没问题,但是@import “~antd/dist/antd.less”还是会报错: 问题: Failed to compile. ./node_modules/antd/lib/style/index.less (./node_modules/css-loader??ref–6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js!./node_mo
用户评论