mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
console/frontend: remove "preview" command
This is not really needed. See https://stackoverflow.com/questions/71703933/what-is-the-difference-between-vite-and-vite-preview And document how to work on the frontend part more easily.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}'",
|
||||
|
||||
Reference in New Issue
Block a user