mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00: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
|
/* /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
|
## AWS Amplify
|
||||||
|
|
||||||
1. Set the routerMode in the Docsify project `index.html` to *history* mode.
|
1. Set the routerMode in the Docsify project `index.html` to *history* mode.
|
||||||
@ -128,4 +134,3 @@ frontend:
|
|||||||
|----------------|----------------|---------------|
|
|----------------|----------------|---------------|
|
||||||
| /<*>.md | /<*>.md | 200 (Rewrite) |
|
| /<*>.md | /<*>.md | 200 (Rewrite) |
|
||||||
| /<*> | /index.html | 200 (Rewrite) |
|
| /<*> | /index.html | 200 (Rewrite) |
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user