Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use slim templates with backbone?

How to use slim templates with backbone?

I use in my ruby-on-rails application backbone-on-rails gem that uses eco templates. But in my project I user slim templates engine and of course I want to use just one template type. But how I can switch to slim in backbone?

Gem backbone-rails from codebrew offers erb and haml, so I think I can use slim too. But how?

like image 236
Donotello Avatar asked Apr 06 '12 17:04

Donotello


1 Answers

Fat-free client-side templates with Slim and CoffeeScript: https://github.com/jfirebaugh/skim

like image 50
denysonique Avatar answered Sep 22 '22 02:09

denysonique