gulp-snazzy-twig
v0.1.2
Published
JavaScript implantation of Skosh's Twig templating system for use with Gulp.
Downloads
2
Maintainers
Readme
Gulp Snazzy Twig
JavaScript implantation of Skosh's Twig templating system for use with Gulp.
Install
$ npm install gulp-snazzy-twig --save
Example
var gulp = require('gulp'),
twig = require('gulp-snazzy-twig');
gulp.task('compile', function () {
return gulp.src('src/html/**/*.twig')
.pipe(twig({
data: {
title: 'Gulp and Twig',
benefits: [
'Fast',
'Flexible',
'Secure'
]
}
}))
.pipe(gulp.dest('./'));
});