1. Steps
1.cd /home/muten/expressStudy/express02/views
2.npm install ejs --save
note:
In express, ejs can be inherited by default, and there is no need to take the initiative to introduce it.
2. Some methods of use
2.1 ejs binding data
<%=h%>
h is the variable name, this is implemented in index.ejs.
3. Grammar description
let is similar to var