mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-03 16:59:41 +00:00
Add:Initial setup for PWA #354
This commit is contained in:
parent
3906031d62
commit
42e7b7f590
4 changed files with 102 additions and 3 deletions
|
|
@ -64,6 +64,7 @@ module.exports = {
|
|||
buildModules: [
|
||||
// https://go.nuxtjs.dev/tailwindcss
|
||||
'@nuxtjs/tailwindcss',
|
||||
'@nuxtjs/pwa'
|
||||
],
|
||||
|
||||
// Modules: https://go.nuxtjs.dev/config-modules
|
||||
|
|
@ -97,6 +98,26 @@ module.exports = {
|
|||
baseURL: process.env.serverUrl || ''
|
||||
},
|
||||
|
||||
// nuxt/pwa https://pwa.nuxtjs.org
|
||||
pwa: {
|
||||
icon: {
|
||||
source: 'Logo.png'
|
||||
},
|
||||
meta: {
|
||||
appleStatusBarStyle: 'black-translucent',
|
||||
name: 'Audiobookshelf',
|
||||
theme_color: '#373838'
|
||||
},
|
||||
manifest: {
|
||||
name: 'Audiobookshelf',
|
||||
short_name: 'Audiobookshelf',
|
||||
background_color: '#373838'
|
||||
},
|
||||
// workbox: {
|
||||
// enabled: true // TEMP for dev
|
||||
// }
|
||||
},
|
||||
|
||||
// Build Configuration: https://go.nuxtjs.dev/config-build
|
||||
build: {},
|
||||
watchers: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue