24 lines
745 B
Markdown
24 lines
745 B
Markdown
# React Frontend
|
|
|
|
This is the route-aligned frontend entrypoint for FE-M1/FE-08:
|
|
|
|
- React 19 + TypeScript 7 + Vite 8
|
|
- Tailwind CSS 4
|
|
- Radix UI Tabs, ToggleGroup and Tooltip
|
|
- Three.js 0.185.1, consuming Worker snapshot pose/joints/toolpath
|
|
- Dedicated Worker entry with the existing WASM `SimSession`
|
|
- LinuxCNC `configs/sim` exact-path assets served by the Vite asset plugin
|
|
|
|
Run with the domestic npm registry when the local cache is empty:
|
|
|
|
```bash
|
|
npm install --registry=https://registry.npmmirror.com
|
|
npm run typecheck
|
|
npm run build
|
|
npm run preview -- --port 5174
|
|
```
|
|
|
|
React does not access OPFS or WASM directly. It sends versioned commands through
|
|
`ReactWorkerClient`; the Worker owns the simulation state, workspace and OPFS
|
|
boundary.
|