Skip to content

offlineFallback ​

Function @vite-pwa/workbox-swkit/recipes
ts
offlineFallback(options?: OfflineFallbackOptions): void

An implementation of the [comprehensive fallbacks recipe]https://developers.google.com/web/tools/workbox/guides/advanced-recipes#comprehensive_fallbacks. Be sure to include the fallbacks in your precache injection

Released under the MIT License.