8.0.0 โข Published 4 months ago
@vite-pwa/workbox-window v8.0.0
๐ Features
- ๐ 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, and Nuxt 3
- ๐ฅ PWA Assets Generator: generate all the PWA assets from a single command and a single source image
๐ ๏ธ @vite-pwa/workbox-window
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.
๐ฆ Install
# pnpm
pnpm add @vite-pwa/workbox-window
# npm
npm i @vite-pwa/workbox-window
# yarn
yarn add @vite-pwa/workbox-window
๐ฆ Usage
// ESM
import { Workbox } from '@vite-pwa/workbox-window'
// CommonJS
const { Workbox } = require('@vite-pwa/workbox-window')
๐ License
8.0.0
4 months ago