Files
chengshishouce/city-manual/frontend
maoshen 72b9c25262 feat: 添加登录注册功能
- 新增登录页面 (Login.jsx) 和注册页面 (Register.jsx)
- 实现 JWT 认证,支持登录/注册/登出
- 登录后导航栏显示用户名和登出按钮
- 修复 API 路径重复问题 (/api/api/ → /api/)
- 优化登录/注册页面 UI 设计
2026-04-12 11:20:35 +00:00
..
2026-04-12 11:20:35 +00:00

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:

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.