codebrew / backbone-rails

Easily use backbone.js with rails 3.1
MIT License
1.62k stars 255 forks source link

Work with HAML? #124

Open netwire88 opened 12 years ago

netwire88 commented 12 years ago

There's a discussion on StackOverflow about using HAML with Backbone.js (http://stackoverflow.com/questions/5254396/best-strategy-to-use-haml-template-with-backbone-js/). I'm not sure if it's outdated anymore.

It suggests using Haml-js and Jammit. Is that still the recommended option to work with backbone-rails? There's also haml-assets which seems to conflict with backbone-rails.

Any suggestions on how I can use HAML (and optionally CoffeeScript) with backbone-rails?

alex3t commented 12 years ago

You can use haml coffee assets gem https://github.com/netzpirat/haml_coffee_assets