node.js - No express view engine -


in express, set view engine this:

app.set('view engine', 'jade'); 

in application, not need view engine. output json, without templates. have uninstalled jade.

which value set view engine if not want use one?

as long don't use res.view() , stick res.json() shouldn't have issue.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -