34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
npm run dev # Start dev server with HMR (hot module reloading)
|
|
npm run build # Production build to dist/
|
|
npm run preview # Preview production build locally
|
|
npm run lint # Run ESLint on all files
|
|
```
|
|
|
|
## Tech Stack
|
|
|
|
- **React 19** with plain JavaScript (no TypeScript)
|
|
- **Vite 7** as build tool (uses `@vitejs/plugin-react` with Babel/Fast Refresh)
|
|
- **ESLint** with react-hooks and react-refresh plugins
|
|
|
|
## Project Purpose
|
|
|
|
Frontend for a **Unity 3D multiplayer game deployment**. Target users are testers who need to:
|
|
- Access/log in to the game platform
|
|
- Download the Unity game client
|
|
- Launch and play the multiplayer game
|
|
|
|
## Project Structure
|
|
|
|
Currently a minimal Vite + React starter. `src/main.jsx` is the entry point that mounts `src/App.jsx` to `#root`. No routing, state management libraries, or API layer are set up yet — these will be added as the project develops.
|
|
|
|
## ESLint Config
|
|
|
|
Uses the new flat config format (`eslint.config.js`). The `no-unused-vars` rule ignores variables matching `^[A-Z_]` (uppercase constants are exempt).
|