Added PWA
This commit is contained in:
3
spaces/.gitignore
vendored
3
spaces/.gitignore
vendored
@@ -22,3 +22,6 @@ logs
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
#PWA
|
||||
sw.*
|
||||
|
||||
@@ -15,7 +15,11 @@ export default defineNuxtConfig({
|
||||
'@nuxtjs/supabase',
|
||||
"nuxt-editorjs",
|
||||
'@nuxtjs/fontaine',
|
||||
'@nuxtjs/google-fonts',
|
||||
'@nuxtjs/google-fonts'
|
||||
|
||||
],
|
||||
buildModules: [
|
||||
'@nuxtjs/pwa'
|
||||
],
|
||||
routeRules: {
|
||||
'/printing': {ssr: false}
|
||||
@@ -36,6 +40,21 @@ export default defineNuxtConfig({
|
||||
colorMode: {
|
||||
preference: 'dark'
|
||||
},
|
||||
pwa: {
|
||||
meta: {
|
||||
mobileAppIOS: true,
|
||||
name: "spaces.software",
|
||||
lang: "de",
|
||||
author: "F Federspiel"
|
||||
},
|
||||
manifest: {
|
||||
name: "spaces.software",
|
||||
shortname: "spaces.soft",
|
||||
theme_color: "#000000",
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/devtools": "latest",
|
||||
"@nuxtjs/pwa": "^3.3.5",
|
||||
"@nuxtjs/supabase": "^1.1.4",
|
||||
"nuxt": "^3.8.0",
|
||||
"vue": "^3.3.7",
|
||||
|
||||
BIN
spaces/static/icon.png
Normal file
BIN
spaces/static/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user