- vite-plugin-pwa with generateSW strategy (Workbox) - manifest.webmanifest: name, short_name, display standalone, theme_color #e8a820 - Service worker: precaches JS/CSS/HTML shell; API routes network-first (60s); Google Fonts cache-first (1 year) - Icons: 192 + 512px regular + maskable variants generated from App.vue bird SVG - index.html: theme-color meta, apple-touch-icon, apple-mobile-web-app-* tags for iOS Safari homescreen support (iOS ignores the manifest icons array) - autoUpdate mode: new versions install silently and activate on next navigation
26 lines
549 B
JSON
26 lines
549 B
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.13.1",
|
|
"pinia": "^3.0.3",
|
|
"vue": "^3.5.22",
|
|
"vue-router": "^4.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.6.0",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vue/tsconfig": "^0.8.1",
|
|
"typescript": "~5.9.3",
|
|
"vite": "^7.1.7",
|
|
"vite-plugin-pwa": "^1.2.0",
|
|
"vue-tsc": "^3.1.0"
|
|
}
|
|
}
|