File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,16 @@ server {
8383
8484# ## HTML5 路由
8585
86- 当使用HTML5路由时,你需要设置一条将所有请求重定向到你的`index.html`的重定向规则。当你使用Netlify时这相当简单,在你的**Publish Directory**下创建一个`\redirects `文件,写进以下内容,然后—— :tada:就好了:
86+ 当使用HTML5路由时,你需要设置一条将所有请求重定向到你的`index.html`的重定向规则。当你使用Netlify时这相当简单,在你的**Publish Directory**下创建一个`_redirects `文件,写进以下内容就可以了 :tada :
8787
8888` ` ` sh
89- /* /index.html 200
89+ /* /index.html 200
9090` ` `
9191
9292# # ZEIT Now
9393
94941. 安装 [Now CLI](https://zeit.co/download) : `npm i -g now`
95- 2. 切换到你的 docsify 网站的文档目录,比方说 `cd docs`
95+ 2. 切换到你的 docsify 网站的文档目录,例如 `cd docs`
96963. 用一个指令来部署: `now`
9797
9898# # AWS Amplify
@@ -111,7 +111,7 @@ server {
1111112. 登录到你的 [AWS 控制台](https://aws.amazon.com)。
1121123. 到 [AWS Amplify 仪表盘](https://aws.amazon.com/amplify)。
1131134. 选择 **Deploy** 路线来设置你的项目。
114- 5. 若有提示,如果你希望在项目根目录下保存你的文档,保持构建设置为空;如果你想保存文档到其它目录,修改 amplify.yml :
114+ 5. 若有提示,如果你希望在项目根目录下保存你的文档,保持构建设置为空;如果你想保存文档到其它目录,修改` amplify.yml` :
115115
116116` ` ` yml
117117version: 0.1
@@ -134,4 +134,13 @@ frontend:
134134|----------------|----------------|---------------|
135135| /<*>.md | /<*>.md | 200 (Rewrite) |
136136| /<*>.png | /<*>.png | 200 (Rewrite) |
137- | /<*> | /index.html | 200 (Rewrite) |
137+ | /<*> | /index.html | 200 (Rewrite) |
138+
139+ # # 21云盒子
140+
141+ 1. 在 [21云盒子](https://www.21yunbox.com) 中, 创建一个新的 `静态网页` ,使用以下配置部署:
142+
143+ - 构建命令:` `
144+ - 发布目录:填写为你的 docsify 网站的文档目录,例如 `./docs`
145+
146+ 2. 点击 "部署" 按钮!
You can’t perform that action at this time.
0 commit comments