• express.js ejs template engines

    安装ejs $ npm install ejs start let express = require('express'); let app = express(); app.set('views', './views') // specify the views directory app.set('view engine', 'ejs') // register the template e…

    Learn 2018-10-17 806