diff --git a/web-frontend/.gitignore b/web-frontend/.gitignore index 231f918..2031bf5 100644 --- a/web-frontend/.gitignore +++ b/web-frontend/.gitignore @@ -9,3 +9,4 @@ src/lib/docs/ /.svelte-kit vite.config.js.timestamp-* vite.config.ts.timestamp-* +/dev-dist/ diff --git a/web-frontend/package.json b/web-frontend/package.json index b8b0627..7935f22 100644 --- a/web-frontend/package.json +++ b/web-frontend/package.json @@ -15,6 +15,7 @@ "@sveltejs/adapter-auto": "^2.0.0", "@sveltejs/adapter-static": "^2.0.1", "@sveltejs/kit": "^1.5.0", + "@vite-pwa/sveltekit": "^0.2.1", "autoprefixer": "^10.4.13", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", @@ -30,7 +31,7 @@ "tailwindcss": "^3.2.7", "typescript": "^4.9.3", "vite": "^4.1.4", - "vite-plugin-pwa": "^0.14.4", + "vite-plugin-pwa": "^0.14.6", "vite-plugin-wasm-pack": "^0.1.12" }, "type": "module", diff --git a/web-frontend/src/routes/+layout.svelte b/web-frontend/src/routes/+layout.svelte index f67af0c..9874417 100644 --- a/web-frontend/src/routes/+layout.svelte +++ b/web-frontend/src/routes/+layout.svelte @@ -1,7 +1,36 @@ + + {@html webManifest} + +