#babel-plugin-antd-theme
Merge custom theme and antd theme, use custom theme first!
example:
//webpack.config.js
...
webpackConfig.babel.plugins.push(['antd-theme', {style: 'css', libraryName: "antd", overLib:"theme"}]);
...
- you need copy “node_modules/lib/*" to "src/theme" folder
- then change "src/theme//sylte/.css" for custom theme
- we just use style file in theme, the js file is invalid