Phoenix.Template.EExEngine

Summary

precompile(file_path, tpl_name)

Precompiles the String file_path into a function defintion, using EEx Engine

Functions

precompile(file_path, tpl_name)

Precompiles the String file_path into a function defintion, using EEx Engine

For example, given “templates/show.html.eex”, returns an AST def of the form:

def render("show.html", assigns \ [])