ember-precompile
v0.2.4 Ember.js Handlebars.js template
Precompile Handlebars templates for Ember.js
Install
npm install -g ember-precompile
Usage
This module has a similar interface to the Handlebars precompiler
ember-precompile template... [-f OUTPUT_FILE]
If output file is omitted, the compiled template(s) will be printed to stdout.
The template's name (in the Ember.TEMPLATES object) is created by transforming the original filename:
- the
.handlebars
or.hbs
file extension is stripped - any remaining
.
characters are replaced by/
to support the nested templates used by the new Ember Router
npm i [email protected]
Source Code
github.com/gabrielgrant/node...Metadata
- LGPL
- Whatever
- Gabriel Grant
- released 1/1/2014