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