feat: 初始化 React + Vite 项目并添加用户管理组件

- 使用 Vite 创建新的 React 项目基础结构
- 配置 Supabase 客户端用于数据库操作
- 添加用户管理组件,支持增删改查功能
- 设置项目配置文件和环境变量示例
- 集成 Ant Design UI 组件库
This commit is contained in:
2026-01-29 15:28:38 +08:00
parent 57dc93794e
commit e8ab86713f
16 changed files with 3215 additions and 1 deletions

View File

@@ -1 +1,16 @@
# 测试项目
# React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
## Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.