To use this template, add --template react-ts
when creating a new app.
For example:
npx create-react-app my-app --template react-ts
# or
yarn create react-app my-app --template react-ts
Features:
- typescript(done)
- eslint(done)
- prettier(done)
- stylelint(done)
- husky(done)
- commitlint(done)
- ant-design按需加载(done)
- axios请求库封装
- webpack扩展配置(done)
- 最佳实践目录结构及文档说明
For more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.