Provides the ~VUE sigil for embedding Vue templates in LiveView components.
The Vue template is compiled to a statics/slots split at compile time via
Vize.vapor_split!/1. At runtime, slots are evaluated against assigns to
produce a %Phoenix.LiveView.Rendered{} struct with per-assign change tracking.
Usage
import PhoenixVapor.Sigil
def render(assigns) do
~VUE"""
<div :class="status">
<h1>{{ title }}</h1>
<ul>
<li v-for="item in items" :key="item.id">{{ item.name }}</li>
</ul>
<p v-if="showFooter">{{ footerText }}</p>
</div>
"""
endThe template has access to all keys in assigns. Nested access like
user.name resolves via map key lookup.
Summary
Functions
Compile a Vue template to a LiveView %Rendered{} struct.