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 -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -