ESM build of workbox-window
- 📖 Documentation & guides
- 👌 Zero-Config: sensible built-in default configs for common use cases
- 🔩 Extensible: expose the full ability to customize the behavior of the plugin
- 🦾 Type Strong: written in TypeScript
- 🔌 Offline Support: generate service worker with offline support (via Workbox)
- ⚡ Fully tree shakable: auto-inject Web App Manifest
- 💬 Prompt for new content: built-in support for Vanilla JavaScript, Vue 3, React, Svelte, SolidJS and Preact
- ⚙️ Stale-while-revalidate: automatic reload when new content is available
- ✨ Static assets handling: configure static assets for offline support
- 🐞 Development Support: debug your custom service worker logic as you develop your application
- 🛠️ Versatile: integration with meta frameworks: îles, SvelteKit, VitePress, Astro, Nuxt 3 and Remix
- 💥 PWA Assets Generator: generate all the PWA assets from a single command and a single source image
- 🚀 PWA Assets Integration: serving, generating and injecting PWA Assets on the fly in your application
ESM build of workbox-window.
This module's documentation can be found at https://developers.google.com/web/tools/workbox/modules/workbox-window.
@vite-pwa/workbox-window
includes missing installing
event in Workbox
class.
# pnpm
pnpm add @vite-pwa/workbox-window
# npm
npm i @vite-pwa/workbox-window
# yarn
yarn add @vite-pwa/workbox-window
// ESM
import { Workbox } from '@vite-pwa/workbox-window'
// CommonJS
const { Workbox } = require('@vite-pwa/workbox-window')