feat(pwa-offline): Pinia store + IndexedDB; contexto para cache/eliminación; toasts; compatibilidad PWA offline
- Agrega @pinia/nuxt, idb y store central (stores/music.ts) - Cacheo manual desde menú contextual y borrado (TrackContextMenu) - Ícono verde para canciones cacheadas, sin auto-cache al reproducir - Toasts de feedback (stores/toast.ts, ToastContainer) - Fallback offline de listado a IndexedDB; fix MUSIC_DIR absoluto en preview/prod - Ajustes PWA: navigateFallback '/', devOptions, workbox condicional - Estilos y animación del context menu (tema light/dark, blur fuerte) - Correcciones de sintaxis y posicionamiento exacto al cursor
This commit is contained in:
@@ -15,9 +15,12 @@
|
||||
"nuxt": "^3.8.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pinia/nuxt": "^0.11.2",
|
||||
"@vite-pwa/nuxt": "^1.0.4",
|
||||
"@vueuse/core": "^10.5.0",
|
||||
"@vueuse/nuxt": "^10.5.0",
|
||||
"lucide-vue-next": "^0.536.0"
|
||||
"idb": "^8.0.3",
|
||||
"lucide-vue-next": "^0.536.0",
|
||||
"pinia": "^3.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user