File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,16 @@ server {
83
83
84
84
# ## HTML5 路由
85
85
86
- 当使用HTML5路由时,你需要设置一条将所有请求重定向到你的`index.html`的重定向规则。当你使用Netlify时这相当简单,在你的**Publish Directory**下创建一个`\redirects `文件,写进以下内容,然后—— :tada:就好了:
86
+ 当使用HTML5路由时,你需要设置一条将所有请求重定向到你的`index.html`的重定向规则。当你使用Netlify时这相当简单,在你的**Publish Directory**下创建一个`_redirects `文件,写进以下内容就可以了 :tada :
87
87
88
88
` ` ` sh
89
- /* /index.html 200
89
+ /* /index.html 200
90
90
` ` `
91
91
92
92
# # ZEIT Now
93
93
94
94
1. 安装 [Now CLI](https://zeit.co/download) : `npm i -g now`
95
- 2. 切换到你的 docsify 网站的文档目录,比方说 `cd docs`
95
+ 2. 切换到你的 docsify 网站的文档目录,例如 `cd docs`
96
96
3. 用一个指令来部署: `now`
97
97
98
98
# # AWS Amplify
@@ -111,7 +111,7 @@ server {
111
111
2. 登录到你的 [AWS 控制台](https://aws.amazon.com)。
112
112
3. 到 [AWS Amplify 仪表盘](https://aws.amazon.com/amplify)。
113
113
4. 选择 **Deploy** 路线来设置你的项目。
114
- 5. 若有提示,如果你希望在项目根目录下保存你的文档,保持构建设置为空;如果你想保存文档到其它目录,修改 amplify.yml :
114
+ 5. 若有提示,如果你希望在项目根目录下保存你的文档,保持构建设置为空;如果你想保存文档到其它目录,修改` amplify.yml` :
115
115
116
116
` ` ` yml
117
117
version: 0.1
@@ -134,4 +134,13 @@ frontend:
134
134
|----------------|----------------|---------------|
135
135
| /<*>.md | /<*>.md | 200 (Rewrite) |
136
136
| /<*>.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