Litestar Vite#
Keep Litestar in charge while Vite runs the frontend.
Litestar Vite keeps Vite, your Litestar backend, and your frontend framework on one operational path. Use it for SPAs, server-rendered templates, Inertia apps, or framework proxy mode without inventing a second deployment story.
Install the plugin, wire the runtime, and ship your first app quickly.
Choose React, Vue, Svelte, Angular, HTMX, Inertia, or an SSR/meta-framework without changing the backend story.
Follow the dedicated server-driven SPA guide without bouncing between framework and usage pages.
Jump straight to configuration, plugin behavior, CLI commands, loader details, and Inertia internals.
Quick Install#
Start with the Python package, then scaffold or attach the frontend you actually want.
pip install litestar-vite
Choose a Path#
Install the plugin, understand the bridge file, and use the assets CLI without starting from a blank Vite setup.
Keep one public app entry point while Vite HMR, proxy mode, and two-port workflows stay understandable.
Developer Resources#
Review release notes and migration-sensitive changes before updating existing projects.
Work from the project contribution guidance instead of jumping out to the repository immediately.