@kevinmarrec/cloudstack-vue-pwa
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc.9 • Public • Published

@kevinmarrec/cloudstack-vue-pwa

Description

Opinionated PWA Vue integration.

Usage

This package is mainly meant to be internally used by Cloudstack Vite.

<script setup lang="ts">
import { usePWA } from '@kevinmarrec/cloudstack-vue-pwa'

const {
  needRefresh,
  offlineReady,
  register, // not needed if you use Cloudstack Vite, it will be called automatically
  updateServiceWorker,
} = usePWA()
</script>

Package Sidebar

Install

npm i @kevinmarrec/cloudstack-vue-pwa

Weekly Downloads

9

Version

1.0.0-rc.9

License

MIT

Unpacked Size

3.57 kB

Total Files

5

Last publish

Collaborators

  • kevinmarrec