feat: scaffold Tauri + Svelte client

SvelteKit in SPA mode with Tauri v2. Builds and produces .deb bundle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-16 18:33:45 +02:00
parent f7756320e5
commit 1e65fd6b0f
41 changed files with 6925 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
// Tauri doesn't have a Node.js server to do proper SSR
// so we use adapter-static with a fallback to index.html to put the site in SPA mode
// See: https://svelte.dev/docs/kit/single-page-apps
// See: https://v2.tauri.app/start/frontend/sveltekit/ for more info
export const ssr = false;
+20
View File
@@ -0,0 +1,20 @@
<script lang="ts">
</script>
<main>
<h1>8-cut</h1>
</main>
<style>
:global(body) {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: #1e1e1e;
color: #e0e0e0;
}
main {
padding: 8px;
height: 100vh;
box-sizing: border-box;
}
</style>