Use as a plugin, to initialize commonly used view collections (no views are actually added to the collections).
module.exports = function(app) {
app.use(require('{%= name %}'));
// do other generator stuff
};
Adds the following view collections to your generator:
Templates for files intended to be written to the file system.
files
Example usage
app.files('templates/*.md');
Templates to be used as layouts (for "wrapping" other templates or content):
layouts
app.layouts('templates/layouts/*.md');
Templates to be used as partials (for injecting into other templates)
includes
badges
docs
app.partials('templates/partials/*.md');
{%= include("base/smart-plugin.md") %}