Inertia SSR (JS)¶
Server-side rendering settings for Inertia.js responses (Node SSR server).
- class litestar_vite.config.InertiaSSRConfig[source]¶
Bases:
objectServer-side rendering settings for Inertia.js.
Inertia SSR runs a separate Node server that renders the initial HTML for an Inertia page object. Litestar sends the page payload to the SSR server (by default at
http://127.0.0.1:13714/render) and injects the returned head tags and body markup into the HTML response.Notes
This is not Litestar-Vite’s framework proxy mode (
mode="framework"; aliases:mode="ssr"/mode="ssg").When enabled, failures to contact the SSR server are treated as errors (no silent fallback).