kevinmarrec / nuxt-pwa-module

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

How Can I precache and route custom folder, or public folder for example? #36

Closed robthepaper closed 1 year ago

robthepaper commented 1 year ago

Hi, when online, cached assets or assets in public folder are available but when offline it's not anymore. How can I tell the sw.js to precacheAndRoute specific files/folder?

robthepaper commented 1 year ago

or maybe use another custom sw.js template instead of templates/workbox/sw.js?

kevinmarrec commented 1 year ago

@robotpapier I'm gonna add the possibility to use custom workbox template :)