ejs解析html后缀
发布于 12 年前 作者 chaoge 7251 次浏览 最后一次编辑是 8 年前

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

1 回复

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

回到顶部