Changes to PWA
This commit is contained in:
@@ -178,6 +178,7 @@ useSeoMeta({
|
|||||||
|
|
||||||
|
|
||||||
<UNotifications/>
|
<UNotifications/>
|
||||||
|
<VitePwaManifest/>
|
||||||
|
|
||||||
|
|
||||||
<!-- <UCard id="page">
|
<!-- <UCard id="page">
|
||||||
|
|||||||
@@ -15,11 +15,10 @@ export default defineNuxtConfig({
|
|||||||
'@nuxtjs/supabase',
|
'@nuxtjs/supabase',
|
||||||
"nuxt-editorjs",
|
"nuxt-editorjs",
|
||||||
'@nuxtjs/fontaine',
|
'@nuxtjs/fontaine',
|
||||||
'@nuxtjs/google-fonts'
|
'@nuxtjs/google-fonts',
|
||||||
|
'@vite-pwa/nuxt'
|
||||||
|
|
||||||
|
|
||||||
],
|
|
||||||
buildModules: [
|
|
||||||
'@nuxtjs/pwa'
|
|
||||||
],
|
],
|
||||||
routeRules: {
|
routeRules: {
|
||||||
'/printing': {ssr: false}
|
'/printing': {ssr: false}
|
||||||
@@ -41,19 +40,27 @@ export default defineNuxtConfig({
|
|||||||
preference: 'dark'
|
preference: 'dark'
|
||||||
},
|
},
|
||||||
pwa: {
|
pwa: {
|
||||||
meta: {
|
|
||||||
mobileAppIOS: true,
|
|
||||||
name: "spaces.software",
|
|
||||||
lang: "de",
|
|
||||||
author: "F Federspiel"
|
|
||||||
},
|
|
||||||
manifest: {
|
manifest: {
|
||||||
name: "spaces.software",
|
name: "spaces.software",
|
||||||
shortname: "spaces.soft",
|
short_name: "spaces",
|
||||||
theme_color: "#000000",
|
description: "spaces.software",
|
||||||
|
icons: [
|
||||||
|
{
|
||||||
|
src: "/icon.png",
|
||||||
|
sizes: "512x512",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
],
|
||||||
|
display: "standalone",
|
||||||
|
theme_color: "green"
|
||||||
|
},
|
||||||
|
workbox: {
|
||||||
|
navigateFallback: "/"
|
||||||
|
},
|
||||||
|
devOptions: {
|
||||||
|
enabled: true,
|
||||||
|
type: "module"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,10 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nuxt/devtools": "latest",
|
"@nuxt/devtools": "latest",
|
||||||
"@nuxtjs/pwa": "^3.3.5",
|
|
||||||
"@nuxtjs/supabase": "^1.1.4",
|
"@nuxtjs/supabase": "^1.1.4",
|
||||||
|
"@vite-pwa/nuxt": "^0.3.3",
|
||||||
"nuxt": "^3.8.0",
|
"nuxt": "^3.8.0",
|
||||||
|
"vite-plugin-pwa": "^0.17.3",
|
||||||
"vue": "^3.3.7",
|
"vue": "^3.3.7",
|
||||||
"vue-router": "^4.2.5"
|
"vue-router": "^4.2.5"
|
||||||
},
|
},
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user