Closed ramseth001 closed 3 years ago
mustache.js is not directly compatible with express.js, no.
There has to be something in between, that knows how to work as a view engine for express.js and at the same time knows how to use mustache.js.
I've used something like consolidate.js in the past for this. Whether or not it still does the trick, or if better alternatives has been created, I honestly don't know.
Closing this issue since it's not an issue with mustache.js itself.
When I did this
app.set("view engine", "mustache");
I got this error
Also, I could not find "mustache" in this list from Express website.