Skip to content
Precompile Handlebars templates for Ember.js
JavaScript Shell
Find file
Pull request Compare This branch is 3 commits ahead, 7 commits behind gabrielgrant:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
src
test
vendor
.gitignore
README.md
package.json

README.md

Precompile Handlebars templates for Ember.js

About

Forked from node-ember-precompile with the intent of making an up-to-date Ember Handlebars compiler available to the Node world.

Install

npm install -g ember-templates

Usage

This module has a similar interface to the Handlebars precompiler

ember-templates 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:

  1. the .handlebars or .hbs file extension is stripped
  2. any remaining . characters are replaced by / to support the nested templates used by the new Ember Router
Something went wrong with that request. Please try again.