kevinmarrec / nuxt-pwa-module

⚠️ DEPRECATED ⚠️ Zero config PWA solution for Nuxt 3
MIT License
339 stars 32 forks source link

Add all available workbox configuration items #95

Open nathanchase opened 1 year ago

nathanchase commented 1 year ago

See https://github.com/nuxt-community/pwa-module/blob/main/src/workbox/defaults.ts

Particularly the offline and runtimeCaching configurations:

 // Offline
  offline: true,
  offlineStrategy: 'NetworkFirst',
  offlinePage: null,
  offlineAssets: [],

  // Runtime Caching
  runtimeCaching: [],
  routingExtensions: [],
  cacheAssets: true,
  assetsURLPattern: undefined,
  pagesURLPattern: undefined,
mingtheanlay commented 1 year ago

Looking forward to this enhancement

cr3a7ure commented 7 months ago

So if currently the "offline" option is not available, do we have any workarounds for complete offline mode? I was playing with the workbox options but in vain. Otherwise I could try to bring it in