javascript - Using meteor and blaze how to convert template to string for an email body? -


and how can set value of now? ie in js? see how in handlebars.

currently meteor not natively support server side rendering of templates, , since sending emails server creates issue. server side rendering on meteor roadmap, can use package. called "handlebars-server" , can found here: https://atmospherejs.com/package/handlebars-server

with handlebars-server can compile handlebars templates strings use in emails. package's readme should started , show how set data context.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -