Emblem.js and Handlebars precompiler for projects that use broccoli. (e.g. ember-cli)
simple drop in solution, requires no extra configuration. simply works™
just add it to the ember-cli project's package.json
to the devDependencies:
"devDependencies": {
... ,
... ,
"broccoli-emblem-compiler": "git://github.com/12finger/broccoli-emblem-and-hbs-compiler.git"
}
then, of course
npm install
done.
simply go on and use all your existing .hbs
templates and then, one by one, you can transform them to .emblem
files.
both templates can coexist in the same project and will be compiled.
##Specials
for your coding convenience and not to scare away the people used to the short .hbs
file ending used for handlebar templates, one can use .hbx
as a file-type for emblem templates.
totally inspired (not to say: fully copied) from these:
broccoli-emblem-compiler and the standard hbs-compiler: broccoli-ember-hbs-template-compiler
MIT