Skip to content
V

Vite Plugin Pwa

Zero-config PWA for Vite

by vite-pwaFree

#710in Utilities
0In stores

Description

vite-plugin-pwa is a framework-agnostic plugin for Vite that adds progressive web app support to a project with sensible defaults. It genera…

Highlights

  • Zero-config service worker with Workbox
  • Automatic Web App Manifest injection
  • Prompt for new content and automatic reload
  • Integrations for React, Vue, Svelte and more
  • PWA asset generator from one source image

Ratings & Reviews

No ratings yet

Be the first to rate Vite Plugin Pwa.

People also visit

A

Astro

Zero-config PWA Integration for Astro

Utilities
Launch
V

vite-patterns

Vite build tool patterns including config, plugins, HMR, env variables

AI Skills
Get
S

Serwist

A Swiss Army knife for service workers

Utilities
Launch
P

pwa-development

Progressive Web Apps - service workers, caching strategies, offline, Workbox

AI Skills
Get
R

ReactPWA

An extendable boilerplate built on top of PawJS

Developer Tools
Launch
V

vite

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration

AI Skills
Get

Vite Plugin Pwa FAQ

What does vite-plugin-pwa do?

It adds progressive web app features to a Vite project, including a service worker for offline use and a generated Web App Manifest.

Which frameworks does it support?

Vanilla JavaScript, Vue 3, React, Svelte, SolidJS and Preact, plus meta frameworks such as SvelteKit, VitePress, Astro, Nuxt 3 and Remix.

Does it need configuration?

No. It includes sensible default settings for common cases, and you can customize its behavior when you need to.

Can it generate icons?

Yes. The PWA assets generator creates the PWA assets from one source image with a single command.

Which Node.js and Vite versions are needed?

The README says version 2.0.0 and later need Node 20.19.0 or above, and earlier releases list their own Vite and Node requirements.

Can I debug my service worker?

Yes. The README says you can debug your custom service worker logic while you develop the application.

Is it free?

Yes. It is open source, and the code and documentation are on GitHub.

What are the best Vite Plugin Pwa alternatives?

Popular alternatives to Vite Plugin Pwa include Astro, Serwist and Vite Plugin Tauri. See all Vite Plugin Pwa alternatives

Developer Stuff

Badges