Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A plugin to transpile mustache templates for component builder, using Hogan.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Readme.md
index.js
package.json
runtime.js

Readme.md

component-hogan

A plugin to transpile mustache templates for component builder, using Hogan.

Note the structure of this plugin is largely cargo-culted from segmentio/component-jade.

Install

$ npm install component-hogan

Usage

Add your mustache files (.mustache or .stache) to the templates array in your component.json:

{
  "templates": [
    "template.stache",
    "another.mustache"
  ]
}

To use the plugin during your build process (component >= 0.13.0):

$ component build --use component-hogan

License

MIT

Something went wrong with that request. Please try again.