verb-collections

Verb plugin that adds includes, layouts, badges and docs template collections. Can be used with verb, assemble or generate, in a *file.js, or a globally installed generator.

verb-collections

Verb plugin that adds includes, layouts, badges and docs template collections. Can be used with verb, assemble or generate, in a *file.js, or a globally installed generator.

Table of Contents- [Install](#install) - [Usage](#usage) - [Collections](#collections) - [About](#about)

Install

Install with npm:

$ npm install --save verb-collections

Usage

This plugin can be used in a verbfile.jsor a globally installed verb generator.

var collections = require('verb-collections');

// register the plugin
app.use(collections());

Collections

Adds the following view collections to your verb app:

Renderable

Templates in these collections can be (automatically) rendered:

  • files

Layouts

Templates in these collections can be used as layouts:

  • layouts

Partials

Templates in these collections can be used as partials:

  • includes
  • badges
  • docs

About

Related projects

  • assemble: Get the rocks out of your socks! Assemble makes you fast at creating web projects… more| homepage
  • generate: Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the… more| homepage
  • verb-readme-generator: Generate your project's readme with verb. Requires verb v0.9.0 or higher. | homepage
  • verb: Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… more| homepage

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Building docs

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.mdreadme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Running tests

Install dev dependencies:

$ npm install && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. MIT


This file was generated by verb-generate-readme, v0.4.1, on January 27, 2017.

HomePage

https://github.com/verbose/verb-collections

Repository

verbose/verb-collections


上一篇:verb-defaults
下一篇:React之非受控组件

相关推荐

  • verbalize

    A pluggable logging utility with builtin colors, styles, and modes. verbalize NPM version(https://...

    1 年前
  • verbal-expressions

    JavaScript Regular expressions made easy VerbalExpressions Build Status(https://travisci.org/Ve...

    2 年前
  • verb-toc

    Verb plugin that adds middleware for creating and injecting a table of contents into a markdown docu...

    1 年前
  • verb-tag-jscomments

    Tag for Verb. Uses jscomments to parse JavaScript code comments and generate API documentation. ve...

    1 年前
  • verb-repo-helpers

    Commonly used helpers for adding repositoryrelated data to templates in verb projects. verbrepohel...

    2 年前
  • verb-repo-data

    Verb plugin that adds repository and package.json data to the context for rendering templates. ver...

    1 年前
  • verb-reflinks

    Verb middleware that resolves reflinks for valid npm package names in markdown documents and appends...

    1 年前
  • verb-readme-generator

    Generate your project's readme with verb. Requires verb v0.9.0 or higher. verbreadmegenerator NPM ...

    1 年前
  • verb-generate-readme

    Generate your project's readme with verb. Requires verb v0.9.0 or higher. verbgeneratereadme NPM v...

    2 年前
  • verb-defaults

    Plugin for setting basic defaults in verb projects. verbdefaults NPM version(https://img.shields.i...

    1 年前

官方社区

扫码加入 JavaScript 社区