html - Express Generator Without Jade -


i trying generate express skeleton, using express generator. this:

$ npm install express-generator -g 

however, adds bunch of automatic jade files.

i wondering if there way rid of jade files , using html express generator

thanks!

try command in command prompt,

express --help, give following

express help

the above image gives list of "view engines", now, type

express -{your choice view engine}
example, express -e

this sets ejs view handler , removes jade. ejs has , feel of html added ability inject values via template system.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -