svelte-tailwind
Branch: template/svelte-tailwind — the boilerplate’s client swapped to
Svelte 5 (@inertiajs/svelte) with Tailwind CSS v4.
What changes vs main
Section titled “What changes vs main”src/client/app.ts—createInertiaApp+new App({ target, hydrate })src/client/ssr.ts—renderfromsvelte/server- 8 pages + 4 components as
.sveltefiles (Svelte 5 runes:$props,$state,$derived,$effect) src/server/svelte-plugin.ts— Bun.build plugin compiling.sveltecomponents and.svelte.jsmodules (runes —@inertiajs/svelteships them); build usesconditions: ["svelte"]buildClientAssets()does three steps: Tailwind CLI → client bundle → SSR bundle (dist/ssr.js, loaded lazily byinertia.ts)typecheck=svelte-check
Everything else — server, auth, tus, migrations, tests — is identical.
bunx create-dulak my-app --template svelte-tailwindA verified migration guide (API mapping React → Svelte) lives in the
repository wiki: concepts/svelte-5-migration.