課程
/前端開發
/Node.js
/node建站攻略(二期)——網站升級
為什么頁面原本是壓縮的,是我錯過了了哪一部分嗎?
2016-06-01
源自:node建站攻略(二期)——網站升級 3-10
正在回答
view-source:localhost:xxxx,你確定是這樣查看的嗎?
app.set('view engine','jade');這個加了嗎?
我也是,你解決了嗎
if ('development' === app.get('env')){
? app.set('showStackError', true);
? app.use(morgan(' :method :url :response-time'));
? app.locals.pretty = true;
? mongoose.set("debug",true);
}
? app.locals.pretty = true;這一行去掉
慕粉1516223796
舉報
幫助你深入前后端開發留下的迷惑,為進一步自學打下基礎
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-02-06
view-source:localhost:xxxx,你確定是這樣查看的嗎?
app.set('view engine','jade');這個加了嗎?
2017-05-05
我也是,你解決了嗎
2016-06-02
if ('development' === app.get('env')){
? app.set('showStackError', true);
? app.use(morgan(' :method :url :response-time'));
? app.locals.pretty = true;
? mongoose.set("debug",true);
}
? app.locals.pretty = true;這一行去掉