Skip to content

botandrose/emblem-sprockets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emblem::Sprockets

Integrate Emblem.js with sprockets

Installation

Add gem 'emblem-sprockets' to your application's Gemfile :

gem 'emblem-sprockets'

And then execute:

$ bundle

Tell emblem-sprockets about your sprockets environment:

Emblem::Sprockets.integrate sprockets_environment

Now any templates ending in .emblem will be compiled as Ember-Handlebars templates. If you need to compile your Emblem templates with vanilla Handlebars, use the .raw.emblem extension.

Upgrading to the latest Emblem

This gem is only responsible for integrating Emblem.js with Sprockets. Any updates to the Emblem language itself can be pulled in via

$ bundle update emblem-source

About

Emblem.js integration with sprockets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%