Add Svelte web client and service worker
Mobile-first PWA: groups via key-in-fragment links, encrypted outbox and sync over SSE, all split modes, currencies with ECB rate prefill, photos, comments, history and rewind, stats, recurring expenses, CSV and backup, EN/CS, dark/light theme, Web Push decrypted in the service worker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
This commit is contained in:
parent
f67add3660
commit
8fbbb4933e
53 changed files with 4558 additions and 37 deletions
15
apps/web/vite.config.ts
Normal file
15
apps/web/vite.config.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
// Dev: the client on 127.0.0.1:8480, proxying /api to the server on 8481.
|
||||
// Preview from your machine with: ssh -p 14922 -L 8480:localhost:8480 <dev box>
|
||||
export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
port: 8480,
|
||||
strictPort: true,
|
||||
proxy: { '/api': 'http://127.0.0.1:8481' },
|
||||
},
|
||||
build: { target: 'es2022', sourcemap: false },
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue