I created a project using express tool "express -s", By default it assign jade as default views templating system.
I have also create a file index.html and i converted it using html2jade tool, the problem is when i try to access index.jade file using this function :
exports.index = function(req, res){ console.log('welcome admin'); res.render('admin/app/index', { }); } i got this error
SyntaxError: Unexpected token . at Object.Function (unknown source) Please can someone explain what's wrong :)
Thanks in advance.