3 ms·
Why choose pug over EJS? When I started my first Node/Express project I picked pug too but quickly realized it was too removed from vanilla HTML I was seeing i
by laurels-marts 3y ago
Why choose pug over EJS?
When I started my first Node/Express project I picked pug too but quickly realized it was too removed from vanilla HTML I was seeing in the books/MDN and switched to Handlebars. Immediately discovered that Handlebars didn’t have a built in support for something fairly basic I needed and I either had to roll my own extension to it or look for something else so I ended up switching yet again to EJS and I’m still using it a year later today. EJS is perfect if you want vanilla HTML + vanilla JS.