nodejs 模板 ejs helloworld
ejs.render("<h1><%= title %></h1><div><%= content %></div>", {
"title": "hello",
"content": "world"
});
将输出
hello
world
nodejs 模板 ejs helloworld
ejs.render("<h1><%= title %></h1><div><%= content %></div>", {
"title": "hello",
"content": "world"
});
将输出