Initialize SvelteKit project with default routing, ESLint, Prettier, Storybook setup, and basic components.

This commit is contained in:
2026-01-24 23:19:22 +01:00
commit 46059da148
58 changed files with 8063 additions and 0 deletions

10
src/routes/+layout.ts Normal file
View File

@@ -0,0 +1,10 @@
import { LedgerAPIClient, resolveLedgerAPIBaseURL } from '$lib/ledger'
import type { LayoutLoad } from './$types'
const ledgerAPI = new LedgerAPIClient({ baseURL: resolveLedgerAPIBaseURL("http://127.0.0.1:8000") })
export const load: LayoutLoad = async () => {
return {
status: await ledgerAPI.status()
}
}