diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9df4465d..44babe64 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,6 +45,11 @@ Akvorado, then use `docker compose up` to run Docker compose. Beware to not destroy the volume for GeoIP at each tentative as there is a per-day limit on the number of times one IP can fetch the GeoIP database. +If you need to work on the frontend part, you can spawn the Docker compsoe +setup, then in `console/frontend`, use `npm run dev` and point your browser to +`http://localhost:5173` instead of `http://localhost:8080`. Any change of +frontend-related files should be applied immediately. + # Licensing The code is licensed under AGPL-3.0-only. When creating new files, be sure to diff --git a/console/frontend/package.json b/console/frontend/package.json index c8f70ecf..a477b648 100644 --- a/console/frontend/package.json +++ b/console/frontend/package.json @@ -7,7 +7,6 @@ "dev": "vite", "build": "run-p type-check build-only", "build-only": "vite build", - "preview": "vite preview", "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", "lint": "eslint '{src/**/,}*.{js,ts,vue}'", "format": "prettier --log-level warn --write '{src/**/,}*.{ts,js,vue,html}'",