Installable PWA judged by lighthouse

SvelteKit PWA Guide

My new game Groople has been undergoing some changes recently. One of the main features I’ve implemented as of recent is the introduction of a Progressive Web App (PWA) for the game.

Making a SvelteKit project into a PWA is straightforward but the documentation is a bit scattered, and the process is slightly different from ones you will find online. After a bit of a struggle and breaking prod a few times, I’ve congregated the information I learned into a single place, with some tips for testing and optimizing.

There are only 2 files you will need to add to your application.

Manifest.json

service-worker.js

Update app.html

Tips

Conclusion

Making your website into a PWA can have massive benefits for your users and can allow your app to have a more native feel. SvelteKit has a special process and helpers for creating a PWA and I hope this guide helped you through the process of building your own. If you need additional help, you can contact me, message me on Twitter/X, or ask around in the Svelte Discord server.

TweetTwitter Icon

Get Notified

Get Notified

Get Notified

Get Notified

Get Notified

Get Notified

Get Notified

Get Notified

Get Notified

No spam, just thought provoking posts