pwa / offline mode

- @vite-pwa/sveltekit: workbox precache (incl. pdfjs worker), generated manifest, prompt-style updates via PwaUpdatePrompt toast
- prerendered routes for offline navigation, PWA icons, theme-color + apple-touch-icon
- pwa offline/update e2e suite (pnpm test:pwa, playwright.pwa.config.ts)
- datenschutz: offline/install section; prettier cleanup of shadcn components
This commit is contained in:
rehlert committed 2026-10-04 12:55:46 +02:00
1 parent b7969b4c9e
commit f09384d2e6
37 files changed
+4130 -273

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
// Every route is rendered from static markup and processes data purely in the browser, so all
// pages are prerendered. That is what makes the PWA work offline: `@vite-pwa/sveltekit` precaches
// `prerendered/**/*.{html,json}` (see vite.config.ts), so the service worker can answer document
// navigations without a server.
export const prerender = true;