{"id":18357925,"url":"https://github.com/zyj1022/vite-react-antd","last_synced_at":"2026-05-10T02:49:05.205Z","repository":{"id":150721410,"uuid":"415223597","full_name":"zyj1022/vite-react-antd","owner":"zyj1022","description":"Vite + React + Antd + Typescript + Fastify Template","archived":false,"fork":false,"pushed_at":"2022-06-06T06:11:54.000Z","size":513,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T18:33:54.329Z","etag":null,"topics":["antd","fastify","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zyj1022.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2021-10-09T06:30:25.000Z","updated_at":"2023-03-08T02:52:22.000Z","dependencies_parsed_at":"2023-07-03T11:47:05.537Z","dependency_job_id":null,"html_url":"https://github.com/zyj1022/vite-react-antd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyj1022%2Fvite-react-antd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyj1022%2Fvite-react-antd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyj1022%2Fvite-react-antd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyj1022%2Fvite-react-antd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zyj1022","download_url":"https://codeload.github.com/zyj1022/vite-react-antd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144680,"owners_count":21054968,"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":["antd","fastify","typescript","vite"],"created_at":"2024-11-05T22:16:04.598Z","updated_at":"2026-05-10T02:49:05.175Z","avatar_url":"https://github.com/zyj1022.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Vite](https://cn.vitejs.dev/) + React + Antd + Typescript + [Fastify](https://www.fastify.io/)\n\n用`vite2.x`搭建的`react17.x`项目，支持`TypeScript4.x`、`Antd4.x`，`mobx`, mock 数据采用 [`fastify`](https://www.fastify.io/) 等。\n\n## 开发\n\n可以用 [pnpm](https://pnpm.io/zh/motivation) 来创建非扁平化的 node_modules 文件夹。**[安装pnpm方法](https://pnpm.io/zh/installation)**\n\n```sh\n# clone\ngit clone https://github.com/zyj1022/vite-react-antd.git\n\n# install\nyarn install  # pnpm install\n\n# start\nyarn start\n```\n\n## 特性支持\n\n- 用 `Typescript`、`Antd`可以支持主题样式覆盖\n- 用 `Mobx` 管理 `store`\n- 支持`Proxy`代理、`alias`别名\n- 支持`HMR`快速热更新\n- 支持规范Git提交\n\n## 目录结构\n\n```js\n├── dist                                // 默认的 build 输出目录\n├── config                              // 全局配置文件\n├── mock                                // mock 数据自造\n└── src                                 // 源码目录\n    ├── assets                          // 公共的文件（如image、font等）\n    ├── components                      // 项目组件\n    ├── constants                       // 常量定义\n    ├── layout                          // 全局布局\n    ├── routes                          // 路由\n    ├── stores                          // 状态管理器\n    ├── styles                          // 样式相关\n    ├── utils                           // 工具库\n    ├── pages                           // 页面模块\n        ├── xxx                         // 开发页面模块\n        ├── ...\n    ├── App.tsx                         // react顶层文件\n    ├── main.ts                         // 项目入口文件\n    ├── typing.d.ts                     // ts类型文件\n├── .editorconfig                       // IDE格式规范\n├── .env                                // 环境变量\n├── .eslintignore                       // eslint忽略\n├── .eslintrc                           // eslint配置文件\n├── .gitignore                          // git忽略\n├── .npmrc                              // npm配置文件\n├── .prettierignore                     // prettierc忽略\n├── .prettierrc                         // prettierc配置文件\n├── index.html                          // 项目入口文件\n├── LICENSE.md                          // LICENSE\n├── package.json                        // package\n├── pnpm-lock.yaml                      // pnpm-lock\n├── postcss.config.js                   // postcss\n├── README.md                           // README\n├── tsconfig.json                       // typescript配置文件\n└── vite.config.ts                      // vite\n```\n\n## 版本记录\n\n- v0.0.1：初始化项目\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyj1022%2Fvite-react-antd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzyj1022%2Fvite-react-antd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyj1022%2Fvite-react-antd/lists"}