Create first node js project and change view template engine jade to ejs

by default node server Listening on port 3000

open http://localhost:3000 and you are in node js world now.

To change the view template engine jade to ejs:

change view engine name jade to ejs in app.js

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

change all jade view files to ejs.

Share This: