feat: installable PWA (manifest, icons, minimal service worker)

- public/manifest.webmanifest with any + maskable icons (192/512)
- generated inbox-glyph icons in app palette, apple-touch-icon
- minimal no-cache service worker for installability; registered via client plugin
- head: manifest/icon links, mobile-web-app-capable

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 08:00:22 +00:00
parent d4c734737b
commit 02adfd0dbe
10 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
export default defineNuxtPlugin(() => {
if (!("serviceWorker" in navigator)) return;
window.addEventListener("load", () => {
navigator.serviceWorker.register("/sw.js").catch(() => {});
});
});