pub fn render_page(
resolved: &ResolvedComponent,
data: &Value,
) -> Result<String, String>Expand description
Render a resolved .van component into a full HTML page.
Pipeline:
resolve_single()→ “dirty” HTML (still has @click, v-show, {{ reactive }})generate_signals()→ positional signal JS from the dirty HTMLcleanup_html()→ strip directives, interpolate remaining {{ }}, producing clean HTML- Inject styles + scripts into clean HTML
Unlike van-dev-server’s render, this does NOT inject client.js (WebSocket live reload).