How to use the jade function from consolidate
Find comprehensive JavaScript consolidate.jade code examples handpicked from public code repositorys.
GitHub: UXFoundry/hashdo

24 25 26 27 28 29 30 31 32 33
if (jadeFile) { // Handle exports. viewModel.basedir = Path.join(__dirname, '../templates/jade/'); Consolidate.jade(jadeFile, viewModel, function (err, html) { if (!err) { callback && callback(html); } else {
+ 3 other calls in file
GitHub: hiroppy/Quorra

49 50 51 52 53 54 55 56 57 58
| see https://github.com/tj/consolidate.js#supported-template-engines for | all the supported template engine. | */ 'engines': { 'jade': engines.jade } }; module.exports = config;
consolidate.render is the most popular function in consolidate (164 examples)