How to use the swig function from consolidate
Find comprehensive JavaScript consolidate.swig code examples handpicked from public code repositorys.
405 406 407 408 409 410 411 412 413 414
var jsonParam = msg; try { console.log('Swig : ' + JSON.stringify(jsonParam)); cons.swig(emailEventJson.template, jsonParam.data) .then(function (html) { console.log(html); sendEmail(emailEventJson, html); })
0
0
1
consolidate.render is the most popular function in consolidate (164 examples)