Changes to PWA
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user