我用express -t ejs microblog,得到的却是: create : microblog create : microblog/package.json create : microblog/app.js create : microblog/public create : microblog/public/javascripts create : microblog/public/images create : microblog/public/stylesheets create : microblog/public/stylesheets/style.css create : microblog/routes create : microblog/routes/index.js create : microblog/routes/user.js create : microblog/views create : microblog/views/layout.jade create : microblog/views/index.jade 是express只支持jade了,还是我在express的bin下执行出了bug;记得我上个春节前还捣鼓出ejs来的。
2 回复
you can use
express -e -s project_name
let project support session and ejs middleware.
use express -h
show help info.
签名: 交流群244728015 《Node.js 服务器框架开发实战》 http://url.cn/Pn07N3