Vite Plugin PWA generates a Service Worker and Manifest for you via configuration. If you don't want to deal with the Service Worker and Manifest yourself and want to benefit from the extra features (like update prompt and automatic reload), it's a solid option! For me personally, it felt like too much magic and overhead, as I did not fully understand how it worked and what it does behind the scenes. The docs are a bit hard to understand for me. With the approach from the video, we are in full control and know exactly what our Service Worker does. Since SvelteKit already provides the $service-worker module, it makes integrating with workbox modules like workbox-precaching super straightforward!
@@SarcevicAntonio Wow ! It would be great if you could present these specific arguments in a standalone video (or maybe link to a post). I've always had a weird feeling about the vite pwa plugin (and even worse, the more idiosyncratic, insufficiently documented and always-somewhat-out-of-date "@vite-pwa/sveltekit") and had a hard time figuring out what the purpose of it all was or how it would compare do a more hands-on approach like I was used to doing in Vue 5 years ago. Judging by the likes on your reply, I'm not alone. I wasn't even aware that Sveltekit provided its own service worker module and now that I've read your comment, I'm even more confused as to what is the value provided by @vite-pwa/sveltekit. A video or post where you compare the vite-plugin-pwa or @vite-pwa/sveltekit workflow to the one you prefer ($service-worker with a la carte workbox modules) would be amazing !
I've been looking for offline svelte kit content for a while now. Does anyone have any recommendations of extra resources, reading I might do on this topic?
The brevity is bewilderingly beautiful !
Haha thank you that was my main focus around the creation of this video 😁
Knowing how to connect this kind of app to FireBase would be extremely valuable🙏
There are many svelte firebase tutorials out there. You initialize firebase on you main layout and use it in you components basically
Please make a CouchDB video about offline apps :)
This is what I'm looking for! more samples please. Thanks!
second this
Exactly what I've been looking for!
Thank you....
Straight to the point! Awesome!
REALLY wanted this, thanks.
I want more details about it because i want to run one app offline and sync with network when get internet access back
Very interesting! Thank you
I needed this information so bad 🤣👌
How do you think this approach stacks up against the Vite PWA plugin?
Vite Plugin PWA generates a Service Worker and Manifest for you via configuration. If you don't want to deal with the Service Worker and Manifest yourself and want to benefit from the extra features (like update prompt and automatic reload), it's a solid option!
For me personally, it felt like too much magic and overhead, as I did not fully understand how it worked and what it does behind the scenes. The docs are a bit hard to understand for me.
With the approach from the video, we are in full control and know exactly what our Service Worker does. Since SvelteKit already provides the $service-worker module, it makes integrating with workbox modules like workbox-precaching super straightforward!
@@SarcevicAntonio Wow ! It would be great if you could present these specific arguments in a standalone video (or maybe link to a post). I've always had a weird feeling about the vite pwa plugin (and even worse, the more idiosyncratic, insufficiently documented and always-somewhat-out-of-date "@vite-pwa/sveltekit") and had a hard time figuring out what the purpose of it all was or how it would compare do a more hands-on approach like I was used to doing in Vue 5 years ago. Judging by the likes on your reply, I'm not alone.
I wasn't even aware that Sveltekit provided its own service worker module and now that I've read your comment, I'm even more confused as to what is the value provided by @vite-pwa/sveltekit.
A video or post where you compare the vite-plugin-pwa or @vite-pwa/sveltekit workflow to the one you prefer ($service-worker with a la carte workbox modules) would be amazing !
great, and we watting for handling data offline with couchdb,pouchdb!!!
Awesome! Thanks
I've been looking for offline svelte kit content for a while now. Does anyone have any recommendations of extra resources, reading I might do on this topic?
is there any mainfest config for multiple notification setting like native apps for pwa ?
Nice, but most people need apps that are actually online...
How would you do that?