ember-cli-raw-handlebars

0.0.1 • Public • Published

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-templates folder using Handlebars version in bower_components/ folder, export them as <app-name>/raw-templates/template-name for 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 clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Dependencies (5)

Dev Dependencies (12)

Package Sidebar

Install

npm i ember-cli-raw-handlebars

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jesenko