pixsy/node_modules/pug/examples/layout-debug.js

12 lines
192 B
JavaScript
Raw Normal View History

2017-12-22 17:22:08 +00:00
/**
* Module dependencies.
*/
var pug = require('../');
pug.renderFile(__dirname + '/layout.pug', { debug: true }, function(err, html){
if (err) throw err;
console.log(html);
});