InstantPWA on Nuxt
Nuxt's built-in head management lets you inject the InstantPWA snippet once in nuxt.config or via useHead() in your app.vue. Works in SSR, SSG and hybrid modes — no separate service worker plugin required.
Install: Full support
Web push: Full support
Nuxt 3 and Nuxt 2.
How to set it up
- 1
Open nuxt.config
Add script: [{ src: '...', defer: true }] under head.
- 2
Deploy to Vercel, Netlify or self-host
The snippet works identically across SSR and SSG output.
- 3
Verify on mobile
Open your deployed URL on a phone.
Want the full technical guide?
Manifest, service worker and code samples for Nuxt.
FAQ
Does @nuxtjs/pwa still work alongside?+
Yes, but you don't need it — InstantPWA hosts the manifest and service worker for you.