wite-plugin-pwa
TypeScript icon, indicating that this package has built-in type declarations

0.16.7 • Public • Published

Non-config PWA Framework-agnostic Plugin for Wite

🚀 Features

  • 👌 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, Kdu 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
  • 💥 PWA Assets Generator: generate all the PWA assets from a single command and a single source image

📦 Install

npm i wite-plugin-pwa -D 

# yarn 
yarn add wite-plugin-pwa -D

# pnpm 
pnpm add wite-plugin-pwa -D

🦄 Usage

Add WitePWA plugin to wite.config.js / wite.config.ts and configure it:

// wite.config.js / wite.config.ts
import { WitePWA } from 'wite-plugin-pwa'

export default {
  plugins: [
    WitePWA()
  ]
}

Package Sidebar

Install

npm i wite-plugin-pwa

Weekly Downloads

4

Version

0.16.7

License

MIT

Unpacked Size

148 kB

Total Files

30

Last publish

Collaborators

  • nkduy