Closed mohsen1 closed 11 years ago
add: app.set ('view engine', 'jade') to enviroment.js
Shouldn't init --tpl jade
does that?
@mohsen1 +1
Initially init --tpl jade
was generated this code, but after moving to express 3.0, this setting become no longer necessary.
I used
init
to create the app with--tpl jade
. Then when I used generators it usedejs
for my views. If it's not be design please make template language persistent