What is your hint or solution suggestion?
app.set(‘view engine’, ‘pug’)
app.route(’/’).get((req, res) => {
res.render(‘pug/index’);
});
Challenge: Set up a Template Engine
Link to the challenge:
What is your hint or solution suggestion?
app.set(‘view engine’, ‘pug’)
app.route(’/’).get((req, res) => {
res.render(‘pug/index’);
});
Challenge: Set up a Template Engine
Link to the challenge:
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.