nodejs express当使用ejs时,3.0的版本跟2.3.4的版本include的差别,
2.3.4版本,<% include header.html %>.
而3.0版本 <%- include(‘header.html’) -%>,并且支持传参
nodejs express当使用ejs时,3.0的版本跟2.3.4的版本include的差别,
2.3.4版本,<% include header.html %>.
而3.0版本 <%- include(‘header.html’) -%>,并且支持传参