ember-precompile-brunch
Yet another Brunch plugin for Ember.js template precompiling
Last updated 4 years ago by zhewangjoe .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ember-precompile-brunch 
SYNC missed versions from official npm registry.

ember-precompile-brunch

Yet another Ember template precompiling plugin for brunch.

This plug is forked from ember-precompiler-brunch, which is not available on Github any more. The improvement is that I updated the code and the dependency so that it can work under Node.js v4.

Your application's jQuery, Handlebars and Ember files are used when compiling templates so there are never any version discrepancies.

Usage

Add "ember-precompile-brunch": "x.y.z" to package.json of your brunch app.

Add precompile: true and paths to the files.templates object of your app's config.coffee

files:
  templates:
    precompile: true
    defaultExtension: 'hbs'
    joinTo: 'js/templates.js' : /^app/
    paths:
      jquery: 'vendor/scripts/jquery.js'
      handlebars: 'vendor/scripts/handlebars.js'
      ember: 'vendor/scripts/ember.js'

yep.

Current Tags

  • 0.1.2                                ...           latest (4 years ago)

3 Versions

  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 3
This Month 3
Last Day 2
Last Week 30
Last Month 45
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |