Initial commit

This commit is contained in:
2026-09-06 10:24:05 +02:00
commit ecf08f8307
21 changed files with 7118 additions and 0 deletions

33
vite.config.js Normal file
View File

@@ -0,0 +1,33 @@
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import { VitePWA } from 'vite-plugin-pwa'
// https://vite.dev/config/
export default defineConfig({
server: {
host: '0.0.0.0'
},
plugins: [
svelte(),
VitePWA({
registerType: 'autoUpdate',
manifest: {
name: 'TimeLog PWA',
short_name: 'TimeLog',
theme_color: '#ffffff',
icons: [
{
src: 'pwa-192x192.png',
sizes: '192x192',
type: 'image/png'
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png'
}
]
}
})
],
})