What problem does it solve?
This Skill removes the tedious, error-prone manual work of wiring a Vite frontend build pipeline to a Litestar backend, eliminating common pitfalls like mismatched asset paths, broken HMR, and out-of-sync type definitions between backend and frontend.
Core Features & Use Cases
- Multi-mode fullstack support: Configure integrations for SPAs, server-rendered Jinja templates, HTMX hypermedia apps, Inertia hybrid apps, and framework-specific setups (Nuxt, SvelteKit, Astro) with a single consistent config pattern.
- Automated end-to-end type generation: Sync Litestar OpenAPI schemas, route metadata, and Inertia page props to typed TypeScript utilities to eliminate runtime type errors between backend and frontend.
- Use Case: A team building a React SPA with a Litestar JSON API can use this Skill to auto-configure HMR in development, generate a typed API client from their backend DTOs, and build production-ready hashed assets with a single command.
Quick Start
Use the litestar-vite skill to configure a new Litestar React SPA project with Vite dev server proxying, HMR support, and automatic TypeScript type generation from your existing Litestar routes and data transfer objects.