babel-plugin-antd-theme

1.0.8 • Public • Published

#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

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-antd-theme

Weekly Downloads

0

Version

1.0.8

License

ISC

Last publish

Collaborators

  • zhangcheck