require-jade icon indicating copy to clipboard operation
require-jade copied to clipboard

Template Inheritance

Open paulyoung opened this issue 12 years ago • 4 comments

Should this work?

paulyoung avatar Dec 13 '12 13:12 paulyoung

It would be nice to have, but at this point I don't think it works. I haven't tried it out, so I cannot verify that.

Can you do template inheritance in jrburke text module?

vincentmac avatar Jan 14 '13 21:01 vincentmac

I don't think so. Template inheritance is a feature of Jade.

https://github.com/visionmedia/jade#a11

paulyoung avatar Jan 14 '13 22:01 paulyoung

Yes. Inheritance works wonderfully on the server side. I've kept my frontend templates pretty simple so far. I wondered about inheritance too, but ended up using backbone to control smaller sub views.

Have you asked TJ about this?

vincentmac avatar Jan 14 '13 23:01 vincentmac

Would be REALLY nice to have this feature.

Rush avatar Jun 03 '13 23:06 Rush