Skip to content

cdebotton/pruno-swig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pruno-swig

A swig mix for pruno that includes gulp-data.

Usage

"use strict";

var pruno = require('pruno');

pruno.plugins(function(mix) {
  mix
    .configure({ dir: __dirname + '/config' })
    .swig({
      data: '::src/templates/data',
      entry: '::src/templates/**/*.html',
      dist: '::dist',
      search: [
        '::src/templates/**/*.html',
        '::src/templates/data/**/*'
      ],
      ignorePrefix: '_'
    });
});

About

A swig mix for pruno that includes gulp-data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published