Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhoushoujian/react-ts-scaffold
typescript-react-templates
https://github.com/zhoushoujian/react-ts-scaffold
Last synced: about 1 month ago
JSON representation
typescript-react-templates
- Host: GitHub
- URL: https://github.com/zhoushoujian/react-ts-scaffold
- Owner: zhoushoujian
- License: mit
- Created: 2020-11-03T02:56:03.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-07T03:36:32.000Z (9 months ago)
- Last Synced: 2024-04-07T18:27:15.506Z (9 months ago)
- Language: TypeScript
- Size: 1.17 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 基于react的ts脚手架项目
## 框架
react18 + redux + typescript + antd5 + webpack5 + less + css module + eslint
## 介绍
1. 本分支使用`react18+antd5`,,如需使用react16+antd3,需手动切到分支`release/react16+antd3`
2. ts loader可选方式有esbuild,babel和swc,默认使用esbuild构建,如需更换,请修改`webpack\common.ts`
3. 本脚手架支持使用webpack5和vite4,默认使用webpack打包,如需使用vite,运行`npm run vite`## 安装
```shell
npm install
npm start
```## License
[MIT](./LICENSE)