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
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
Post a Comment