What is your hint or solution suggestion?
- Install following packages
npm install pug dotenv
- Update in file server.js
app.set('view engine', 'pug')
app.route('/').get((req, res) => {
res.render('pug/');
});
-
Run project
-
Copy your solution url and paste in completed challenge
Challenge: Set up a Template Engine
Link to the challenge: