Enhance PWA support with new install prompt and configuration updates

- Added PWAInstallPrompt component to facilitate app installation beyond the "Add to Home Screen" option.
- Updated vite.config.ts to include display_override and id properties for improved PWA manifest.
- Modified nginx configuration to ensure proper serving of the manifest with application/manifest+json type for better installability on Android.
This commit is contained in:
Dorian
2026-02-18 13:48:45 +00:00
parent aa08160556
commit 129d7fe6f4
4 changed files with 100 additions and 4 deletions
+2
View File
@@ -17,9 +17,11 @@ export default defineConfig({
theme_color: '#000000',
background_color: '#000000',
display: 'standalone',
display_override: ['standalone', 'minimal-ui'],
orientation: 'any',
scope: '/',
start_url: '/',
id: '/',
categories: ['productivity', 'utilities'],
prefer_related_applications: false,
icons: [