The javascript component name.
Inertia struct must be a singleton and initialized at the application bootstrap.
It is supposed to last during the whole application runtime.
A configuration struct for initializing Inertia. You can directly fill the struct or use
the builder fluent syntax by calling InertiaConfig::builder()
, and finally InertiaConfig::build()
.
Response containing a valid Inertia Payload that will be used
by the Inertia client to render the components.
Inertia Full Page response to be rendered inside the root template
on the first request or on a full visit request.
InertiaTemporarySession
struct contains data that InertiaMiddleware will try to extract
from the request and merge with shared props.
View Data is a struct containing props to be used by the root template.