Express: Expressjs Generator still use Jade instead of pug

Created on 25 May 2016  路  2Comments  路  Source: expressjs/express

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?

express-generator question

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!

All 2 comments

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 .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Domiii picture Domiii  路  3Comments

dmaks9 picture dmaks9  路  3Comments

HafidAbnaou picture HafidAbnaou  路  3Comments

guyisra picture guyisra  路  3Comments

despairblue picture despairblue  路  3Comments