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

30
package.json Normal file
View File

@@ -0,0 +1,30 @@
{
"name": "test_01",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@ant-design/icons": "^6.1.0",
"@supabase/supabase-js": "^2.93.2",
"antd": "^6.2.2",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"vite": "^7.2.4"
}
}