Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Add all available workbox configuration items #95

Open
nathanchase opened this issue Feb 13, 2023 · 2 comments
Open

Add all available workbox configuration items #95

nathanchase opened this issue Feb 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@nathanchase
Copy link

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,
@kevinmarrec kevinmarrec added the enhancement New feature or request label Feb 17, 2023
@mingtheanlay
Copy link

mingtheanlay commented Feb 20, 2023

Looking forward to this enhancement

@cr3a7ure
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants