项目文件夹

文件
Qingshan Chen 36390395d7
Release / Publish Release (push) Failing after 0s
Release / Prepare Scheduled Release (push) Has been skipped
change virtual display from auto to manual (#14)
* fix: avoid auto-connecting desktop sessions

* fix: gate desktop launch and release parsing
2026-03-27 17:43:27 +08:00
..
2026-03-20 20:41:18 +08:00
2026-03-20 19:06:48 +08:00
2026-03-20 19:06:48 +08:00
2026-03-20 19:06:48 +08:00
2026-03-20 19:06:48 +08:00

ClawReef Frontend

Virtual Desktop Management Platform - React Frontend

Tech Stack

  • React 19
  • TypeScript 5.9+
  • Vite 7+
  • Tailwind CSS 4
  • React Router 6
  • Zustand (State Management)
  • Axios (HTTP Client)
  • TanStack Query (Data Fetching)

Quick Start

Install Dependencies

npm install

Development

npm run dev

Build

npm run build

Environment Variables

Create .env.development file:

VITE_API_URL=http://localhost:9001/api/v1

Frontend dev server runs on port 9002.

Project Structure

src/
├── components/       # UI Components
│   ├── ui/          # Base UI components
│   ├── layout/      # Layout components
│   ├── common/      # Shared components
│   └── forms/       # Form components
├── pages/           # Route pages
│   ├── auth/        # Authentication pages
│   ├── dashboard/   # Dashboard pages
│   ├── instances/   # Instance management
│   └── admin/       # Admin pages
├── services/        # API services
├── stores/          # State management
├── types/           # TypeScript types
├── contexts/        # React contexts
├── router/          # Route configuration
└── lib/             # Utilities

Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run lint - Run ESLint