DEV Community

Discussion on: Create a PWA with Sveltekit | Svelte

Collapse
 
fxmt2009 profile image
Ade

Navin, used your code but the serviceworker is not being registered. It's giving me a 404 error. I added the serviceworker to src folder, manifest in static as in your code.

Is your code still working after their latest update? In the sveltekit doc, they mentioned that vite register the serviceworker. Is there any configuration for vite registering the service worker?