{"id":23346036,"url":"https://github.com/dshuais/react-template","last_synced_at":"2026-04-11T11:01:52.612Z","repository":{"id":230355304,"uuid":"779110487","full_name":"dshuais/react-template","owner":"dshuais","description":"一个react项目模板，基于 vite + react + typescript + swc + tailwindcss + zustand + antd，减少每次项目开发前的重复操作","archived":false,"fork":false,"pushed_at":"2025-03-31T03:11:47.000Z","size":252,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T17:18:32.648Z","etag":null,"topics":["ant-design","react","react-router","swc","tailwindcss","template","typescript","valtio","vite","zustand"],"latest_commit_sha":null,"homepage":"https://react-template-ds.netlify.app","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/dshuais.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":"2024-03-29T04:05:27.000Z","updated_at":"2025-03-31T03:11:51.000Z","dependencies_parsed_at":"2024-04-26T05:23:17.052Z","dependency_job_id":"ad10266b-5a3f-4ea4-93f0-32e7083786f1","html_url":"https://github.com/dshuais/react-template","commit_stats":null,"previous_names":["dshuais/react-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dshuais/react-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dshuais%2Freact-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dshuais%2Freact-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dshuais%2Freact-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dshuais%2Freact-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dshuais","download_url":"https://codeload.github.com/dshuais/react-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dshuais%2Freact-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ant-design","react","react-router","swc","tailwindcss","template","typescript","valtio","vite","zustand"],"created_at":"2024-12-21T07:11:59.493Z","updated_at":"2026-04-11T11:01:52.593Z","avatar_url":"https://github.com/dshuais.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n * @Author: dushuai\n * @Date: 2024-03-29 12:30:24\n * @LastEditors: dushuai\n * @LastEditTime: 2024-04-28 15:36:13\n * @description: readme\n--\u003e\n\n# React-Template\n\n一个自用的 React 项目模板，主要为了减少每次项目开发前的重复操作。主要采用 Vite + React + TypeScript + SWC + Tailwind css + Zustand + Ant Design 等常用技术栈和常用库构建。\n\n\u003e 预览地址：[https://react-template-ds.netlify.app](https://react-template-ds.netlify.app/)\n\n## 主要功能\n\n- [x] 动态路由最佳实践\n- [x] 完善的 Axios\n- [x] 区分环境变量\n- [x] Zustand 状态管理仓库的最佳食用\n- [x] Svg To Component\n\n## 安装\n\n```bash\npnpm create keepdesign\n\n# 选择 react-pc-template\n\npnpm install\n```\n\n## 运行\n\n```bash\npnpm dev\n```\n\n## 打包\n\n```bash\npnpm sit\n\n# or\n\npnpm prod\n```\n\n`\n\n## 技术栈\n\n主要采用 Vite + React + TypeScript + SWC + Tailwind css + Zustand + Ant Design 等常用技术栈和常用库构建。\n\n- [Vite](https://vitejs.cn/vite3-cn/)\n- [React](https://react.dev/)\n- [Tailwindcss](https://www.tailwindcss.cn/)\n- [Zustand](https://zustand-demo.pmnd.rs/)\n- [Ant Design](https://ant.design/index-cn/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdshuais%2Freact-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdshuais%2Freact-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdshuais%2Freact-template/lists"}