Skip to content

paulferrett/node-ember-precompile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Precompile Ember.js templates with Handlebars 1.3.0 which supports Subexpressions, allowing for ember query query params.

Install

npm install -g ember-precompilex

Usage

This module has a similar interface to the Handlebars precompiler

ember-precompilex 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

About

Precompile Handlebars templates for Ember.js

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.2%
  • Shell 9.3%
  • HTML 1.5%