kevinmarrec / nuxt-pwa-module

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

Change the name of the generated service worker #104

Open anz000 opened 11 months ago

anz000 commented 11 months ago

I want to change the name of the generated service worker. The default sw.js to service-worker.js, and all the workflow to look for the new service work URL at /service-worker.js.

On a different note, I had a different app register as service-worker.js. I plan to have the nuxt app on the same domain. I explored few options, but it didn't work out: