InstantPWA on Remix
Remix's root.tsx owns the document shell, which is exactly where InstantPWA belongs. Add it as a plain <script> sibling to <Scripts /> and every route inherits it.
Install: Full support
Web push: Full support
Any Remix runtime.
How to set it up
- 1
Open app/root.tsx
Locate <Scripts /> inside the <body>.
- 2
Add the InstantPWA <script> tag next to it
Remix ships it in the SSR output.
- 3
Deploy
Verify on your production URL from a phone.
Want the full technical guide?
Manifest, service worker and code samples for Remix.
FAQ
Does it work with Vite-based Remix?+
Yes — the Vite migration changed nothing about how root.tsx renders scripts.