Skip to content

Commit

Permalink
feat: add pwa support
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfriesen committed Feb 11, 2025
1 parent 3d31a0e commit b54a38b
Show file tree
Hide file tree
Showing 3 changed files with 2,624 additions and 180 deletions.
17 changes: 17 additions & 0 deletions apps/zeity/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,24 @@ export default defineNuxtConfig({
'@nuxt/image',
'nuxt-time',
'nuxt-security',
'@vite-pwa/nuxt',
],
pwa: {
registerType: 'autoUpdate',
manifest: {
id: 'zeity-pwa',
start_url: '/',
name: 'zeity Time Tracker',
short_name: 'zeity',
description: 'A simple timer app',
theme_color: '#000000',
display: 'standalone',
lang: 'en',
},
devOptions: {
enabled: true,
},
},
i18n: {
strategy: 'no_prefix',
detectBrowserLanguage: false,
Expand Down
1 change: 1 addition & 0 deletions apps/zeity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@nuxt/ui": "next",
"@nuxtjs/i18n": "^9.2.0",
"@vue/test-utils": "^2.4.6",
"@vite-pwa/nuxt": "^0.10.6",
"happy-dom": "^16.8.1",
"nuxt": "^3.15.4",
"nuxt-security": "^2.1.5",
Expand Down
Loading

0 comments on commit b54a38b

Please sign in to comment.