prog keys prog keys - 2 months ago 25
Node.js Question

Node.js + Express without using Jade

I was developing an application in Python, but I decided to use Node.js in the server-side instead. The view is already coded, and everything is written in JavaScript using jQuery/ EXT JS and some business code of my own.

Is it possible to use express without any template engine?

Answer

Yes,

app.get('/', function(req, res){
  res.render('index.html');
});

should just work