express3.0 使用ejs命令

express -e hello

 在package.json中,内容如下:

 

{
  "name": "application-name",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node app"
  },
  "dependencies": {
    "express": "3.0.1",
    "ejs": "*"
  }
}

posted @ 2012-11-07 08:55  kunxin  阅读(115)  评论(0编辑  收藏  举报