Add PWA to
any platform.
Two lines of code. pageflare's script tag works with every framework, CMS, and hosting provider. No webpack config, no service worker boilerplate, no native app toolchain — just paste and go.
Same two steps,
any platform.
Add the script to your HTML head
Copy this into your layout template, base HTML file, or CMS header injection field. Replace your-site-id with the ID from your pageflare dashboard.
<script src="https://cdn.pageflare.com/pwa.js" data-site="your-site-id"></script>Configure in the dashboard
Upload icons, set your theme color, write your install prompt copy, and define caching rules. pageflare handles the manifest.json and service worker automatically.
Done
Your site is now a PWA. Install prompts appear on Android and guided flows activate on iOS. Push subscription UI is ready when you need it.
Every JS framework,
zero friction.
React
Add the script to your index.html or inject it via react-helmet. Works with Vite, Create React App, and any custom webpack setup.
Vue
Paste into your index.html or use vue-meta for dynamic head injection. Compatible with Vue 2, Vue 3, and Nuxt.
Astro
Add to your base layout's head slot. Works with Astro's static, SSR, and hybrid rendering modes.
Next.js
Inject via next/head or the App Router's metadata API. Works in both Pages Router and App Router projects.
Nuxt
Add to nuxt.config.ts under app.head.script. Works with Nuxt 2 and Nuxt 3 in all rendering modes.
SvelteKit
Add to app.html or inject via svelte:head in your root layout. Works with static adapters and SSR.
Remix
Inject in your root.tsx Links and Scripts components. Compatible with Remix's streaming SSR and asset loading.
Angular
Add to your angular.json scripts array or inject via the index.html template. Works with Angular Universal.
Vanilla JS
Drop directly into your HTML head. No build step required. Works with any static site — even plain HTML files.
No developer?
No problem.
WordPress
Install the pageflare plugin and paste your site ID. The plugin handles script injection, manifest routes, and service worker registration automatically.
Webflow
Paste the script into Project Settings → Custom Code → Head Code. Live in seconds — no code exports or custom hosting needed.
Squarespace
Add via Settings → Advanced → Code Injection. Works on Business plan and above where custom code injection is available.
Wix
Use Wix's Custom Code tool under Settings → Advanced. Inject in the head and your Wix site becomes installable.
Shopify
Edit your theme.liquid file to add the script in the head tag. Works with any Shopify theme — Dawn, Debut, or custom.
Ghost
Inject via Settings → Code injection → Site header. Works with Ghost Pro and self-hosted Ghost installations.
Bubble
Add via Settings → SEO / metatags → Script/meta tags in header. No plugin required — works with any Bubble app.
Framer
Paste into Site Settings → General → Custom Code → Start of <head>. Your Framer site becomes a fully installable PWA.
Jotform
Embed via the Form Builder's header injection options. Make your Jotform pages installable for repeat users.
Deploy anywhere,
optimize everywhere.
Vercel
pageflare auto-detects Vercel deployments. Optimized output, correct cache headers, and service worker scope configured automatically.
Netlify
Add pageflare to your Netlify build command. Cache headers, redirects, and service worker routing handled for Netlify's CDN out of the box.
Cloudflare Pages
Native integration with Cloudflare's edge network. Service workers run at the CDN level — fastest possible response times globally.
AWS
Works with S3 + CloudFront, Amplify, and EC2. pageflare generates correct cache headers and service worker configs for AWS hosting architectures.
Self-hosted
Running nginx, Apache, or Caddy? pageflare generates the correct server config snippets for service worker headers on any self-hosted setup.
GitHub Pages
Works with GitHub Pages' custom domain and HTTPS setup. Add the script to your Jekyll or static site layout — no server config needed.
Two lines of code. Full PWA platform.
Install the CLI, point it at your build output, and see results in under two seconds.