Wednesday 13 January 2016

A templating engine that allows writing modules for it?

I basically want to have all my common views and partials like headers and such to be made into modules that I could import or include from the app's views much like you require a nodejs module from js files.Webpack allows such things but only for css and fonts and such files, but I want something for (pre-rendered) views.The upcoming Jade version 2.0 will likely have it, but I was wondering whether there's any other templating library that has had a plugin system all along?

Submitted January 13, 2016 at 09:55AM by laggingreflex

No comments:

Post a Comment