「Express」の版間の差分
ナビゲーションに移動
検索に移動
7行目: | 7行目: | ||
<pre> | <pre> | ||
$ npm install -g express-generator | $ npm install -g express-generator | ||
+ | </pre> | ||
+ | |||
+ | *Help | ||
+ | <pre> | ||
+ | $ 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 | ||
</pre> | </pre> |
2020年10月21日 (水) 11:54時点における版
| 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
© 2006 矢木浩人