feat: PWA using @vite-pwa/nuxt module with auto update strategy (#75)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
1 parent
575149c356
commit
ac3bac5513
20 files changed
+2558
-705
No files matched your search
@@ -1,15 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { appName } from '~/constants'
|
||||
|
||||
useHead({
|
||||
title: 'Vitesse Nuxt 3',
|
||||
link: [
|
||||
{
|
||||
rel: 'icon', type: 'image/png', href: '/nuxt.png',
|
||||
},
|
||||
],
|
||||
title: appName,
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VitePwaManifest />
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
|
||||
Reference in new issue
Block a user