react-ts template for Create React App.
npm install cra-template-react-tsTo use this template, add --template react-ts when creating a new app.
For example:
``sh
npx create-react-app my-app --template react-ts
yarn create react-app my-app --template react-ts
``
Features:
1. typescript(done)
2. eslint(done)
3. prettier(done)
4. stylelint(done)
5. husky(done)
6. commitlint(done)
7. ant-design按需加载(done)
8. axios请求库封装
9. webpack扩展配置(done)
10. 最佳实践目录结构及文档说明
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.