gulp-pug-php

1.0.0 • Public • Published

This plugin not tested

This is pug fork of gulp-jade-php

Usage

var jade = require('gulp-pug-php');

gulp.task('templates', function() {
  gulp.src('./views/**/*.pug')
    .pipe(pug({
        locals: {
          title: 'OMG THIS IS THE TITLE'
        }
     }))
     .pipe(gulp.dest('./dist'));
});

Options

This module based on gulp-pug, os it supports everything options of gulp-pug README.

Also you can customize the extension of the outputted files. By default the extension will be .php, but you can pass extension: '.phtml' to generate phtml files.

Readme

Keywords

Package Sidebar

Install

npm i gulp-pug-php

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.68 kB

Total Files

8

Last publish

Collaborators

  • phi