7c682373a5
* refactor: use vite instead of CRA * skip deployments for now * local env fixes
18 lines
530 B
Markdown
18 lines
530 B
Markdown
# Frontend (Vite)
|
|
|
|
This frontend now uses Vite + React + TypeScript.
|
|
|
|
## Scripts
|
|
|
|
- `yarn dev` or `yarn start`: Start the Vite dev server.
|
|
- `yarn build`: Build production assets to `dist/`.
|
|
- `yarn preview`: Serve the production build locally.
|
|
- `yarn test`: Run tests once with Vitest.
|
|
- `yarn test:watch`: Run tests in watch mode.
|
|
|
|
## Notes
|
|
|
|
- Static files are served from `public/`.
|
|
- The app entry HTML is `index.html` at the project root.
|
|
- LESS files are compiled by Vite automatically, no separate compile step is needed.
|