template_html

Macro template_html 

Source
template_html!() { /* proc-macro */ }
Expand description

Reads a file and replaces the variables it contains with the supplied values. Produces a Yew html! macro invocation.

let html = template_html!("path", arg="value", arg2="value2", arg3={expression});

See top-level documentation for more information.