यह पेज अभी हिन्दी में उपलब्ध नहीं है, इसलिए आप इसका अंग्रेज़ी संस्करण पढ़ रहे हैं।

vite-plugin-pwa

Zero-config PWA support for Vite: generates the manifest and a Workbox service worker with your build files precached, with update hooks for React, Vue, Svelte, Solid, Preact and Lit.

★ PWA.live की पसंद: हम यहीं से शुरू करेंगे।

Zero-config PWA support for Vite: generates the manifest and a Workbox service worker with your build files precached, with update hooks for React, Vue, Svelte, Solid, Preact and Lit.

When to use it

Your app is built with Vite. It is the default choice for Vite projects.

Get started

npm i -D vite-plugin-pwa
import { VitePWA } from 'vite-plugin-pwa';
export default { plugins: [VitePWA({ registerType: 'prompt', manifest: { name: 'My App', short_name: 'App' } })] };

Source code, issues and documentation: github.com/vite-pwa/vite-plugin-pwa.