Expand description
The .livewire template engine: MiniJinja over the component’s compiled source.
A component’s view is resources/views/livewire/{name}.livewire, or a namespace’s directory. The
engine compiles the component directives into Jinja first, injects the morph markers and derived
wire keys, then renders with the framework’s helpers and Livewire’s own functions, so a component
template behaves like an ordinary .html view that can also render child components.
Structs§
- Livewire
Engine - Renders
.livewirecomponent views.
Functions§
- register_
functions - Adds Livewire’s own template functions, which a component view and an ordinary page both use.
- render_
inline - Renders a component view written in the component module, which has no finder.
- render_
inline_ with - Renders an inline view with
markupmarked safe, so a slot’s elements are not escaped.