Litestar Vite

PyPI - Version PyPI - Python Version CI Status Coverage

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.

Get Started

Install the plugin, wire the runtime, and ship your first app quickly.

Getting Started
Framework Guides

Choose React, Vue, Svelte, Angular, HTMX, Inertia, or an SSR/meta-framework without changing the backend story.

Framework Guides
Inertia Guide

Follow the dedicated server-driven SPA guide without bouncing between framework and usage pages.

Inertia.js
API Reference

Jump straight to configuration, plugin behavior, CLI commands, loader details, and Inertia internals.

API Reference

Quick Install

Start with the Python package, then scaffold or attach the frontend you actually want.

pip install litestar-vite

Choose a Path

Vite Workflow

Install the plugin, understand the bridge file, and use the assets CLI without starting from a blank Vite setup.

Install and Configure
Development Workflow

Keep one public app entry point while Vite HMR, proxy mode, and two-port workflows stay understandable.

Development Workflow

Developer Resources

Changelog

Review release notes and migration-sensitive changes before updating existing projects.

Changelog
Contribution Guide

Work from the project contribution guidance instead of jumping out to the repository immediately.

Contribution guide