I\'m trying to get Mustache working properly with Express, and as one can guess, I\'m having troubles.
The following line initializes Mustache nice and clean. Variab
I'm not sure what's exactly in your ./public/js/libs/mustache.js
... I use the mustache module from npm + a variation of the templating object you linked to.
In any case, the object you pass to app.register
needs to call mustache.to_html(template, locals, partials)
at some point.
You need to pass the partials object as the third argument to mustache's to_html
.