{"id":14990585,"url":"https://github.com/cszo/react18-antd5-template","last_synced_at":"2025-04-12T02:24:59.520Z","repository":{"id":179327890,"uuid":"662894297","full_name":"cszo/react18-antd5-template","owner":"cszo","description":"React admin template based on the latest front-end technologies such as react18 and antd5","archived":false,"fork":false,"pushed_at":"2024-11-20T09:43:17.000Z","size":6737,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T02:24:54.239Z","etag":null,"topics":["ahooks","antd5","axios","cssinjs","cssmodules","emotion","pro-components","react-router-v6","react18","redux-toolkit","typescript","vite4"],"latest_commit_sha":null,"homepage":"https://cszo.github.io/react18-antd5-template/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cszo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-06T05:51:36.000Z","updated_at":"2024-11-20T09:43:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d48ee52-3367-4f80-80e6-b359ef75e3a4","html_url":"https://github.com/cszo/react18-antd5-template","commit_stats":{"total_commits":46,"total_committers":3,"mean_commits":"15.333333333333334","dds":"0.26086956521739135","last_synced_commit":"6441692e7f89d6a7d0f3046f4542a1b6e1636738"},"previous_names":["cszo/react18-antd5-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cszo%2Freact18-antd5-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cszo%2Freact18-antd5-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cszo%2Freact18-antd5-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cszo%2Freact18-antd5-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cszo","download_url":"https://codeload.github.com/cszo/react18-antd5-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506317,"owners_count":21115416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ahooks","antd5","axios","cssinjs","cssmodules","emotion","pro-components","react-router-v6","react18","redux-toolkit","typescript","vite4"],"created_at":"2024-09-24T14:20:24.864Z","updated_at":"2025-04-12T02:24:59.495Z","avatar_url":"https://github.com/cszo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react18-antd5-template\n\n致力打造成一个基于新版主流技术的React中后台模版 [预览地址](https://cszo.github.io/react18-antd5-template)\n\nContinuously optimizing！\nContinuously exploring best practices！\nContinuously integration of popular technology solutions for middle and back-end web systems！\n\nDue to my limited skills 🤏 Welcome to star、fork、PR、or make your valuable suggestions 👏👏\n\n## 主要技术栈\n\n`react18`、`redux-toolkit`、`vite4`、`antd5`、`ahooks`、`pro-component`、`typescript`、`react-router-dom6`、`css modules`、`css in js`、`emotion`、`axios`\n\n- [ReactJS](https://react.dev/)\n- [Redux-Toolkit](https://redux-toolkit.js.org/introduction/getting-started)\n- [Vite](https://vitejs.dev)\n- [Antd](https://ant.design)\n- [ahooks](https://ahooks.js.org/)\n- [Pro-Components](https://procomponents.ant.design/components)\n- [TypeScript](https://www.typescriptlang.org)\n- [React-Router](https://reactrouter.com/en/main)\n- [Axios](https://axios-http.com/docs/intro)\n- [emotion](https://emotion.sh/docs/introduction)\n\n## lint工具\n\n- [ESLint](https://eslint.org)\n- [Prettier](https://prettier.io)\n\n## 目录结构\n\n```markdown\nreact18-antd5-template\n\n├─src\n| ├─components      // 公共组件\n| ├─features        // 业务组件(基于redux)\n| ├─hooks           // 公共hooks\n| ├─layouts         // 页面布局\n| ├─mock            // mock数据\n| ├─pages           // 业务页面\n| ├─routes          // 路由配置\n| ├─types           // 一些ts类型\n| ├─utils           // 工具函数\n| ├─store.ts        // redux store\n| \n├─tsconfig.json     // ts配置\n├─vite.config.ts    // vite配置\n```\n\n### 开始\n\n- 安装依赖\n\n   ```bash\n   pnpm install\n   ```\n\n- 本地启动项目\n\n   ```bash\n   pnpm dev\n   ```\n\n- 生产环境打包\n\n  ```bash\n  pnpm build:prod\n  ```\n\n### 提交格式\n\n- `feat`: 新增功能\n- `fix`: 修复 bug\n- `docs`: 仅仅修改了文档，比如 README, CHANGELOG 等等\n- `test`: 增加/修改测试用例，包括单元测试、集成测试等\n- `style`: 修改了空行、缩进格式、引用包排序等等（不改变代码逻辑）\n- `perf`: 优化相关内容，比如提升性能、体验、算法等\n- `refactor`: 代码重构，「没有新功能或者 bug 修复」\n- `chore`: 改变构建流程、或者增加依赖库、工具等\n- `revert`: 回滚到上一个版本\n- `merge`: 代码合并\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcszo%2Freact18-antd5-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcszo%2Freact18-antd5-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcszo%2Freact18-antd5-template/lists"}