0.0.1 • Published 11 years ago
ember-cli-raw-handlebars v0.0.1
ember-cli-raw-handlebars
Ember-CLI addon that enables server-side precompilation of raw Handlebars templates to be used in Ember app in addition to Ember-flavoured Htmlbars/Handlebars templates.
Main aim of this addon is to enable perf optimization where Ember.View and
Ember.Component have too much overhead.
This is currently work in progress
TODO
- Compile handlebars templates in
app/raw-templatesfolder using Handlebars version inbower_components/folder, export them as<app-name>/raw-templates/template-namefor use on client. - Provide
{{raw-template object}}helper that renders raw template with given context - Enable usage of computed properties in raw templates (i.e. using
Ember.get) - Enable rendering of raw templates witin raw templates by providing appropriate helpers to handlebars.
- Add blueprint for installing handlebars into application
bower.js. - Add unit and acceptance tests.
Installation
git clonethis repositorynpm installbower install
Running
ember server- Visit your app at http://localhost:4200.
Running Tests
ember testember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
0.0.1
11 years ago