antonmedv/monkberry

Runtime compilation

ngaer opened this issue · 2 comments

ngaer commented

Is there any way to compile monkberry template from html string in application runtime? I was looking into Compiler.compile method, but it seems like it only can generate template file content.

Have a look in monkberry/standalone

@godDLL is right.
But it's always better to precompile your templates (performance, security, ...).