vue-carousel-3d
Version:
Beautiful, flexible and touch supported 3D Carousel for Vue.js
49 lines (35 loc) • 1.39 kB
Markdown
# hexo-server
[](https://travis-ci.org/hexojs/hexo-server) [](http://badge.fury.io/js/hexo-server) [](https://coveralls.io/r/hexojs/hexo-server?branch=master) [](https://ci.appveyor.com/project/tommy351/hexo-server/branch/master)
Server module for [Hexo].
## Installation
``` bash
$ npm install hexo-server --save
```
## Usage
``` bash
$ hexo server
```
Option | Description | Default
--- | --- | ---
`-i`, `--ip` | Override the default server IP. | 0.0.0.0
`-p`, `--port` | Override the default port. | 4000
`-s`, `--static` | Only serve static files. | false
`-l`, `--log [format]` | Enable logger. Override log format. | false
`-o`, `--open` | Immediately open the server url in your default web browser. | false
## Options
``` yaml
server:
port: 4000
log: false
ip: 0.0.0.0
compress: false
header: true
```
- **port**: Server port
- **log**: Display request info on the console. Always enabled in debug mode.
- **ip**: Server IP
- **compress**: Enable GZIP compression
- **header**: Add `X-Powered-By: Hexo` header
## License
MIT
[Hexo]: http://hexo.io/