# vite-pwa/vite-plugin-pwa

Zero-config PWA for Vite

Repository: https://github.com/vite-pwa/vite-plugin-pwa
Canonical: https://ross.abutalabs.com/products/vite-plugin-pwa
Homepage: https://vite-pwa-org.netlify.app/
Language: TypeScript
License: MIT
License Family: permissive
Topics: vite-plugin, vite, pwa, workbox, vue, svelte, solidjs, react, preact
Last push: 2026-05-05T15:03:21+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 70, longevity 100
- inputs: {"age_days": 2199, "days_push": 120, "days_rel": 120, "gap_med": 45, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4252, forks 256 (observed 2026-08-28T04:08:40.433223+00:00)

## What it is
A zero-config, framework-agnostic Vite plugin that adds Progressive Web App support to web applications. It generates service workers with offline support via Workbox, auto-injects a Web App Manifest, and provides built-in new-content prompts for Vue 3, React, Svelte, SolidJS, Preact, and vanilla JavaScript.

## Use cases
- add pwa support to a vite app
- make my web app work offline
- generate a service worker for vite project
- add web app manifest automatically
- prompt users to reload when new content is available
- generate pwa icons and assets from one image
- add pwa to nuxt or sveltekit project

## When to choose
- you use Vite (or a Vite-based meta-framework like Nuxt 3, SvelteKit, Astro, Remix, VitePress) and want PWA capabilities with minimal setup
- you need offline support, caching strategies, and web app manifest generation in one plugin
- you want framework-specific helpers for prompting users about new service worker content

## When to avoid
- your project does not use Vite as its build tool
- you need fine-grained, non-standard service worker behavior that Workbox cannot express
- you are building a native mobile app with no web frontend

## Facets
- artifact type: plugin
- maturity: active
- function: web-framework, build-tool, plugin-system, caching
- domain: web-development, frontend, developer-tools
- platform: cross-platform
- tags: vite, pwa, service-worker, workbox, offline-support, web-app-manifest, progressive-web-app, nodejs, web-server

## Member repositories
- vite-pwa/vite-plugin-pwa (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:40.433223+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:10.713062+00:00, confidence not recorded.
  - readme: https://github.com/vite-pwa/vite-plugin-pwa (fetched 2026-08-28T04:08:40.433223+00:00, sha 7ebe215e29fd)
  - homepage: https://vite-pwa-org.netlify.app/ (fetched 2026-08-29T09:12:07.193638+00:00, sha c63c5ece21b2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
