开发者

Configure EJS view engine options - Express framework

开发者 https://www.devze.com 2023-02-21 15:26 出处:网络
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,

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

精彩评论

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