Set up a Template Engine

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) => {
  • Run project

  • Copy your solution url and paste in completed challenge

Challenge: Set up a Template Engine

Link to the challenge:

1 Like