How to use thin templates with a base?

How to use thin templates with a base?

I use a rail foundation application in my ruby ​​rail that uses environmental patterns. But in my project, the user has a subtle template engine and, of course, I want to use only one type of template. But how can I switch to a construction site in the spine?

Codebrew's backbone-rails gem offers erb and haml, so I think I can use slim too. But how?

+5
source share
2 answers

Joyless client templates with Slim and CoffeeScript: https://github.com/jfirebaugh/skim

+6
source

, . Slim, HAML end ERB - Ruby.

Eco - node.js . Eco, node.js .

, HTML, . , JavaScript ( , backbone.js) HTML .

+4

All Articles