Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gulp-tale-jade

tmslnz8MIT1.0.1

Jade to PHP template compiler using Tale-Jade

gulp, php, pug, jade, templates, tale-jade

readme

npm

Gulp Tale Jade

Gulp plugin for Tale Jade.
Eventually to use Phug.

Usage

Example gulpfile.js:

const plumber = require( 'gulp-plumber' );
const browsersync = require( 'browser-sync' ).create();
const jade = require( 'gulp-tale-jade' );

gulp.task( 'default', [ 'templates', /* … */ ] );

gulp.task( 'watch', ['browsersync'], function () {
    gulp.watch( 'templates/**/*.jade', [ 'templates' ]).on('change', browsersync.reload);
});

gulp.task( 'templates', function () {
    return gulp.src( [ 'templates/*.jade' ] )
        .pipe( plumber() )
        .pipe( jade() )
        .pipe( gulp.dest( /* DESTINATION */ ) );
});