litestar-inertia
Installation
SKILL.md
Litestar + Inertia.js Integration
litestar-inertia is the four-library story:
| Layer | Library | Role |
|---|---|---|
| Client SPA | @inertiajs/react / @inertiajs/vue3 / @inertiajs/svelte |
Page resolution, forms, navigation, shared data access; generated templates target Inertia v3 |
| Frontend build | vite |
Bundling, HMR, dev server, production build |
| Python bridge | litestar-vite |
VitePlugin + InertiaConfig, asset manifest, type generation, page-props codec |
| Server framework | litestar |
Routes, Controllers, Guards, DI, DTOs — returning Inertia responses |
Litestar routes produce page data, ViteConfig.inertia configures the response
layer, and the Vite-served client handles subsequent navigations. For Vite-only
configuration, use the sibling skill.