I tried this simple change from the seed and created the corresponding .html files (e.g. index.html).
//app.set('view engine', 'jade');
app.set('view engine', 'html');
and this file remained the same:
exports.index = function(req, res){
res.render('index');
};
but while running I get
500 Error: Cannot find module 'html'
Is my only option to use 'ejs'? My intent was to use plain HTML in conjuction with AngularJS.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…