xrecipe-jade
v0.0.2
Published
Jade task for gulp
Downloads
3
Readme
xrecipe-jade
Jade task for gulp - easy one
Installation
Simply install it with NPM
npm install xrecipe-jade --save-dev
Usage Example
var path = require('path');
var jadeTask = require('xrecipe-jade');
var jadeTaskConfig = {
sourcePath: 'front/main.jade',
destinationPath: 'back/views/',
destinationName: 'index.html',
dataFile: path.resolve(__dirname, 'front/data.json'),
watchPattern: 'front/**/*.+(jade|json)'
};
gulp.task('jade', jadeTask.create(jadeTaskConfig));
gulp.task('jade:watch', ['jade'], jadeTask.create(jadeTaskConfig, true));