Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Use modularized antd#
- Use babel-plugin-import (Recommended)
- // .babelrc or babel-loader option
- {
- "plugins": [
- ["import", { "libraryName": "antd", "libraryDirectory": "es", "style": "css" }] // `style: true` for less
- ]
- }
Add Comment
Please, Sign In to add comment