3
如何配置包含在Express framework中的EJS视图引擎中的打开/关闭标签(see "Custom Tags" in the documentation)?配置EJS视图引擎选项 - Express框架
如何配置包含在Express framework中的EJS视图引擎中的打开/关闭标签(see "Custom Tags" in the documentation)?配置EJS视图引擎选项 - Express框架
在文档中找到的这个,http://expressjs.com/guide.html#view-rendering
app.set('view options', {
open: '{{',
close: '}}'
});
下