Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericgj/component-hogan
A plugin to transpile mustache templates for component builder, using Hogan.
https://github.com/ericgj/component-hogan
Last synced: about 2 months ago
JSON representation
A plugin to transpile mustache templates for component builder, using Hogan.
- Host: GitHub
- URL: https://github.com/ericgj/component-hogan
- Owner: ericgj
- Created: 2013-05-27T04:43:47.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-27T04:46:24.000Z (over 11 years ago)
- Last Synced: 2024-11-09T07:02:08.926Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 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][jade].## Install
$ npm install component-hogan
## Usage
Add your mustache files (`.mustache` or `.stache`) to the `templates`
array in your `component.json`:```javascript
{
"templates": [
"template.stache",
"another.mustache"
]
}
```To use the plugin during your build process (component >= 0.13.0):
$ component build --use component-hogan
## License
MIT
[jade]: https://github.com/segmentio/component-jade