DEV Community

loading...

Discussion on: Vue 3, PWA & service worker

Collapse
voodu profile image
Piotr Ładoński Author • Edited

Hi Ang,
Have you tried the first method to fix the production service worker? I.e.

If you don't care about that logging coming from registerServiceWorker.js, just don't import it in src/main.js and problem will be gone.

I must say I had some problems with getting this to work as well and personally decided on using this method