#PWA astro.js

3 messages · Page 1 of 1 (latest)

warm fable
#

Does anyone have a solution to make an optimized and working PWA on astro.js

oblique ridgeBOT
#

Hi @warm fable. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Yes, you can create a Progressive Web App (PWA) with Astro. One of the integrations available for Astro is astro-webmanifest, which helps generate a webmanifest and icons for Astro to make progressive web apps. You can find it on the Astro integrations page (https://astro.build/integrations/4) with 3.1K weekly downloads.

To install it, you would typically use a package manager like npm or yarn:

npm install astro-webmanifest
# or
yarn add astro-webmanifest

After installing, you would need to configure it in your Astro project. Unfortunately, the exact usage instructions are not provided in the knowledge sources. For detailed usage instructions, you should refer to the package's documentation or repository.

Remember, a PWA typically involves more than just a webmanifest. You would also need to implement a service worker for offline functionality and ensure your app meets all the other PWA criteria (https://web.dev/progressive-web-apps/).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: