From 12f8665b33a7ca06bba6c2211fff78bcca29436a Mon Sep 17 00:00:00 2001 From: giuseppe Date: Thu, 16 Apr 2026 14:55:25 +0200 Subject: [PATCH] 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 --- docker/README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 106b6095..46ea4ba5 100644 --- a/docker/README.md +++ b/docker/README.md @@ -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 +``` ---