Merge pull request #931 from styfle/patch-1

Add deployment instructions for ZEIT Now
This commit is contained in:
Anix 2019-11-21 20:00:08 +05:30 committed by GitHub
commit b95f8d2884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) |