- 使用 Vite 创建 React 应用基础结构,包含主应用布局和路由 - 集成 Supabase 客户端,实现用户表的 CRUD 操作 - 添加 Ant Design UI 组件库,构建用户管理界面 - 配置数据库迁移脚本,初始化 users 表及示例数据 - 设置开发环境配置,包括 ESLint、Git 忽略文件和项目依赖
1.1 KiB
1.1 KiB
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 uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC 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.
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 for information on how to integrate TypeScript and typescript-eslint in your project.