Using Jade Templates (jade-lang.com) client-side

前端 未结 8 1323
梦如初夏
梦如初夏 2020-12-13 05:13

I\'d like to use Jade templates client-side. Preferably generated using the Rails 3.1 asset pipeline. I can\'t really figure out how to do this.

Anyone who\'ve stumb

8条回答
  •  -上瘾入骨i
    2020-12-13 05:40

    Checkout Blade. It is a Jade-like HTML template engine that is designed for client-side (and server-side) use. There are some other features that you guys might like, as well.

    EDIT: But, only for Node.js servers. There is no Ruby implementation at this time.

提交回复
热议问题