Opinionated PWA Vue integration.
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>