Base loader for Template-based applications.
npm i base-loader --save
var loader = require('base-loader');
var App = require('template');
var app = new App();
app.loader('base', [loader]);
Now you can use the loader to load templates for custom template types.
// create the custom type, and assign the loader
app.create('post', 'posts', ['base']);
// load some templates!
app.posts('*.md');
template: Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… more
Install dev dependencies:
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on May 01, 2015.