Anzeige-Name ueberall umgestellt: - index.html title, Login-H1, TopNav, SuperAdmin-Header - Mail-Subject, HTML-Body, Default-MAIL_FROM - PWA Manifest name (short_name: Dockly-Pfand wegen Laengen-Limit)
31 lines
885 B
JavaScript
31 lines
885 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import { VitePWA } from 'vite-plugin-pwa';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
VitePWA({
|
|
registerType: 'autoUpdate',
|
|
manifest: {
|
|
name: 'Dockly-Pfandsystem',
|
|
short_name: 'Dockly-Pfand',
|
|
start_url: '.',
|
|
display: 'standalone',
|
|
background_color: '#f8fafc',
|
|
theme_color: '#4338ca',
|
|
description: 'Digitale Pfand- und Tourenverwaltung',
|
|
icons: [
|
|
{ src: 'icon-192.png', sizes: '192x192', type: 'image/png' },
|
|
{ src: 'icon-512.png', sizes: '512x512', type: 'image/png' }
|
|
]
|
|
},
|
|
includeAssets: ['icon-192.png', 'icon-512.png'],
|
|
manifestFilename: 'manifest.webmanifest',
|
|
injectRegister: 'auto',
|
|
})
|
|
],
|
|
build: { outDir: 'dist' },
|
|
server: { port: 5173 },
|
|
});
|