/handlebars-precompiler

Precompile handlebars templates

Primary LanguageRubyMIT LicenseMIT

Handlebars::Precompiler::Rails

Installation

You'll need handlebars node precompiler. Install it with:

npm install handlebars -g

More info about handlebars precompiler: http://handlebarsjs.com/precompilation.html

Add this line to your application's Gemfile:

group :development do
  gem 'handlebars-precompiler', git: 'https://github.com/felipeelias/handlebars-precompiler'
end

And then execute:

$ bundle

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request