844d8416bd
- Set up the main application structure with App component and routing. - Implemented global state management for UI theme using Zustand. - Created API utilities for fetching system status. - Developed system status page with responsive design and theme toggle. - Added testing setup with Vitest and initial tests for system status page. - Configured TypeScript with appropriate settings for the application. - Integrated Tailwind CSS for styling and responsive design. - Established Vite configuration for development and testing environments.
14 lines
291 B
Markdown
14 lines
291 B
Markdown
# Zhixing Web
|
|
|
|
React 管理页面使用 TypeScript、Vite、shadcn/ui、TanStack Router、TanStack Query 与 Zustand。
|
|
|
|
```bash
|
|
pnpm install
|
|
pnpm dev
|
|
pnpm check
|
|
pnpm test
|
|
pnpm build
|
|
```
|
|
|
|
开发服务器将 `/api` 代理到 `VITE_DEV_API_TARGET`,默认地址为 `http://localhost:8000`。
|