Closed doiya46 closed 1 year ago
try it: import "antd/lib/button/style/css"
.
or custom webpack config, just add your custom react-env, and modify default webpack. and the example can be find in slack.
or try use babel plugin: babel-plugin-import
, i make it yesterday: custom-babel, import it and set is as your react-components's env.
I antd less css need
javascriptEnabled
to compile option. Do you guys have any ideal to overridesbit.dev
config.import "antd/lib/button/style/index.less";
orimport 'antd/lib/style/themes/default.less';
Exam:
Example case use
craco.config.js
with craco-less