Skip to main content

render

Function render 

Source
pub fn render(view_path: &str, state: &Value) -> Result<String>
Expand description

Render a Spark component template with the given JSON state as context.