Client-Side templating with nodejs and pug
问题 I have a web app that I'm building that has dynamic widgets being constructed on the client-side. Currently I am using nodejs and pug as my server side templating library, and I like the simplicity of pug. I would like to have a series of small pug files on the server that the client side can use as building blocks to construct the user desired widget. I tried using a previous solution found here: client side server side templating nodejs However, that solution looks like overkill for what I