antd-react-scripts
v0.2.6
Published
Configuration and scripts for Create React App and antd.
Maintainers
Readme
React scripts based on react scripts for Ant Design
- Add
eslint,lessrelated configuration - Add an alias for the
srcfolder to@ - Add support for babel-plugin-import
- Add support for custom themes, just add
antd.theme.jsin the project root directory, Ant Design Less variables
Example for antd.theme.js
module.exports = {
'primary-color': '#1DA57A',
'link-color': '#1DA57A',
}Instructions
create-react-app <project name> --scripts-version antd-react-scripts
