Update README dev section with frontend build instructions

Replace Vite dev server tip with npm install/build workflow
and docker restart step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pull/1239/head
giuseppe 2026-04-16 14:55:25 +02:00
parent 937e569611
commit 12f8665b33
1 changed files with 13 additions and 1 deletions

View File

@ -266,7 +266,19 @@ After editing Python files (e.g. `src/dashboard.py`), restart the container to p
docker restart wgdashboard
```
> **Tip:** For frontend development, run the Vite dev server on your host (`cd src/static/app && npm run dev`) and proxy to the container's API. This gives you hot module replacement for Vue components.
For frontend changes, install dependencies and rebuild the Vue app on your host:
```bash
cd src/static/app
npm install
npm run build
```
Then restart the container so it serves the updated dist files:
```bash
docker restart wgdashboard
```
---