python - Best way to use Jinja2 template in Javascript? -
i'm trying ajaxify functionality of page uses jinja2 , flask. problem want entire jinja2 template rendered javascript but, isn't possible of available libraries don't support features of jinja2. what's best way solve issue?
there seems https://github.com/syrusakbary/jsjinja library now:
jsjinja lets use jinja2 templates in javascript. compile jinja2 templates javascript no restrictions.
not tried though.
Comments
Post a Comment