ejs解析html后缀
 发布于 13 年前  作者 chaoge  7891 次预览  最后一次回复是 12 年前  来自  

新建:express web -e(新建ejs模板的网站web) 安装:cd web;npm install 修改:在app.js中添加app.register(’.html’,require(‘ejs’)); 运行:node app.js 错误:enter image description here

2 回复
sniper114713

####同遇到这个问题,也没搞明白怎么回事