$ npm install template-init
Plugin for caching vinyl files as templates in an assemble, verb, or gulp pipeline.
npm i template-init --save
Plugin for caching vinyl files as templates in a gulp, verbor assemblepipeline.
Example:
var renderPlugin = require('template-render');
var initPlugin = require('template-init');
var render = renderPlugin(assemble);
var init = initPlugin(assemble);
assemble.task('posts', function () {
assemble.src('*.hbs')
.pipe(init())
.pipe(render())
.pipe(assemble.dest('_gh_pages'));
});
Install dev dependencies:
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Brian Woodward
Copyright (c) 2015 Brian Woodward Released under the MIT license.
This file was generated by verb-cli on April 29, 2015.
© 2010 - cnpmjs.org x YWFE | Home | YWFE