LiveLift.Template (live_lift v0.1.0-rc.1)

Copy Markdown View Source

Parses client templates into a validated tree shared by both runtimes.

Summary

Functions

compile(source, file \\ "nofile")

@spec compile(String.t(), String.t()) :: [map()]

render_server(tree, state)

@spec render_server([map()], map()) :: Phoenix.HTML.safe()