Skip to content

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

Notifications You must be signed in to change notification settings

ericgj/component-hogan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published