Wednesday 18 January 2017

ELI5 - can you explain me how to use my existing backend nunjucks templates on browser side?

So basically i'm using nunjucks templating for a while in my node.js backend but i guess i need some help now.I've a basic comment.html nunjucks template which i'm already using in my backend but i also need be able to use it within browser side.So when user sends a comment, after my jquery ajax call to my api, i need to render the very same template from browser side.Will be great if anyone can help me.

Submitted January 18, 2017 at 02:15PM by raistlinthewiz

No comments:

Post a Comment