开发者

Configure EJS view engine options - Express framework

How can I configure the open/cl开发者_如何学编程ose tags (see "Custom Tags" in the documentation) in the EJS view engine, which is included in the Express framework?


Found this in the documentation, under http://expressjs.com/guide.html#view-rendering

app.set('view options', {
    open: '{{',
    close: '}}'
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜