Hey, I'm newbie here and I realized that Expressjs still use Jade instead their new name which is pug. Am I doing anything wrong? Or Expressjs still not updated?
No, the generator had not been updated, as pug is still in alpha. Jade, which is not an alpha version,works very well and does not have any issues. When pug is no longer in alpha, the generator will change yo use pug over jade.
I hope that helps!
If I understand correctly, Pug is no longer in alpha. However, the generator still uses Jade, it seems.
At least, that's what I got using Node.js v12.16.1 and running npx express-generator, which made a package.json containing this:
"dependencies": {
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "~4.16.1",
"http-errors": "~1.6.3",
"jade": "~1.11.0",
"morgan": "~1.9.1"
}
Update: Sorry, I see this is already being discussed at https://github.com/expressjs/generator/issues/141 .
Most helpful comment
No, the generator had not been updated, as pug is still in alpha. Jade, which is not an alpha version,works very well and does not have any issues. When pug is no longer in alpha, the generator will change yo use pug over jade.
I hope that helps!