mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-11-30 02:58:37 +08:00
Merge pull request #931 from styfle/patch-1
Add deployment instructions for ZEIT Now
This commit is contained in:
commit
b95f8d2884
@ -88,6 +88,12 @@ When using the HTML5 router, you need to set up redirect rules that redirect all
|
||||
/* /index.html 200
|
||||
```
|
||||
|
||||
## ZEIT Now
|
||||
|
||||
1. Install [Now CLI](https://zeit.co/download), `npm i -g now`
|
||||
2. Change directory to your docsify website, for example `cd docs`
|
||||
3. Deploy with a single command, `now`
|
||||
|
||||
## AWS Amplify
|
||||
|
||||
1. Set the routerMode in the Docsify project `index.html` to *history* mode.
|
||||
@ -128,4 +134,3 @@ frontend:
|
||||
|----------------|----------------|---------------|
|
||||
| /<*>.md | /<*>.md | 200 (Rewrite) |
|
||||
| /<*> | /index.html | 200 (Rewrite) |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user