8.0.0 โ€ข Published 4 months ago

@vite-pwa/workbox-window v8.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

๐Ÿš€ 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

MIT