| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

Express

提供: MyMemoWiki
2020年10月21日 (水) 12:04時点におけるPiroto (トーク | 投稿記録)による版 (→‎アプリケーション生成)
ナビゲーションに移動 検索に移動

| Node.js | Google App Engine | Google Cloud Platform |

Express

アプリケーション生成

$ npm install -g express-generator
  • Help
$ express -h

  Usage: express [options] [dir]

  Options:

        --version        output the version number
    -e, --ejs            add ejs engine support
        --pug            add pug engine support
        --hbs            add handlebars engine support
    -H, --hogan          add hogan.js engine support
    -v, --view <engine>  add view <engine> support (dust|ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
        --no-view        use static html instead of view engine
    -c, --css <engine>   add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
        --git            add .gitignore
    -f, --force          force on non-empty directory
    -h, --help           output usage information