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
Post a Comment