【发布时间】:2014-04-17 11:41:47
【问题描述】:
我正在将我的sails.js 0.9 应用程序更新到 0.10。使用旧版本,我可以美化 jam 这个配置的输出:
module.exports.config = function () {
if (sails.config.environment === 'development') {
// Pretty print output
sails.express.app.locals.pretty = true;
}
};
不幸的是,这已经改变了,我不知道如何。如何使用新的sails.js 版本美化我的html 代码?
【问题讨论】: