19 ms·
Seems like putting templates inside js is a step backwards. The advantage is that you can package templates together with js? That problem is still solvable whi
by davidgbeck 12y ago
Seems like putting templates inside js is a step backwards. The advantage is that you can package templates together with js? That problem is still solvable while maintaining separation. For instaces with browserify tramsforms you can just require( 'my-template' ).
https://github.com/epeli/node-hbsfy https://github.com/epeli/node-hbsfy
https://github.com/rotundasoftware/nunjucksify https://github.com/rotundasoftware/nunjucksify