Short video - PUG et EJS: Moteurs de template dans Express.js #expressjs #nodejs #ejs #javascript
30 Apr 2026 · 1 min

1:15
In this concise French tutorial, the presenter compares the Pug and EJS template engines, highlighting Pug's indented syntax versus EJS's familiar HTML-like syntax. Deciding to use EJS for the current project, they walk through installing the EJS module (version 3.1.9) which updates package.json, launching the application with nodemon, and organizing view files. A dedicated 'views' folder is created, and an existing index file is either created anew as index.html or renamed to have the .ejs extension, preparing the Express.js app to render EJS templates. The video promises a future deeper dive into Pug.










