Currently I am using backbone-rails in my Rails app. I would like to know how to use client side Haml/Jade backbone.js with that gem and the rails asset pipline.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m using haml_coffee_assets and it works perfectly !
Haml templates are compiled with the Rails assets, and then on the client side you “render” the templates.
test.hamlc:
on client side:
=>
<span>Yeah</span>UPDATE My project has grown very big now (Feb 2012), and I confirm it’s working really, really well !