merged from upstream

This commit is contained in:
David Leimroth 2022-02-10 15:02:39 +01:00
commit 7b8759a829
25 changed files with 168 additions and 220 deletions

View file

@ -64,6 +64,7 @@ module.exports = {
buildModules: [
// https://go.nuxtjs.dev/tailwindcss
'@nuxtjs/tailwindcss',
'@nuxtjs/pwa'
],
// Modules: https://go.nuxtjs.dev/config-modules
@ -98,6 +99,38 @@ module.exports = {
baseURL: process.env.serverUrl || ''
},
// nuxt/pwa https://pwa.nuxtjs.org
pwa: {
icon: false,
meta: {
appleStatusBarStyle: 'black',
name: 'Audiobookshelf',
theme_color: '#373838',
mobileAppIOS: true,
nativeUI: true
},
manifest: {
name: 'Audiobookshelf',
short_name: 'Audiobookshelf',
display: 'standalone',
background_color: '#373838',
icons: [
{
src: '/icon64.png',
sizes: "64x64"
},
{
src: '/icon192.png',
sizes: "192x192"
},
{
src: '/Logo.png',
sizes: "512x512"
}
]
}
},
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {},
watchers: {