adding pwa supoort (I have done it ) #1319
Closed
kemo-1
started this conversation in
Feature Requests
Replies: 2 comments 3 replies
-
That's cool! I wonder if it could be published as a Starlight plug-in? I think it should be possible to do using the existing plugin API if your were interested. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks to @sanabel-al-firdaws, there is now a public template to get started with Starlight as a PWA. You can find it here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of
starlight
are you using?0.15.1
What is your idea?
Adding Progressive Web Apps As A Feature would be awosome ! I got it set up in less than an hour on my project
steps to do so
I just installed the vite plugin pwa
i didn't know how to override the head or page components so i overrided the theme provider components
you add the link to the manifest and you register the service worker here and thats it
followed this guide
https://astro-pwa-recipe.vercel.app/
my app works offline now and is installable
Why is this feature necessary?
Progressive Web Apps allow for bigger reach
for example an Astro docs Pwa can be shipped to app stores imagine looking in the docs on your phone etc
Do you have examples of this feature in other projects?
https://astro-pwa-recipe.vercel.app/
(don't use the astro starter pwa cuz this dev says its old astro 2.0)
Participation
Beta Was this translation helpful? Give feedback.
All reactions