From 1a0ae19632f776639ec2bc294e0aaadeb1cadd2e Mon Sep 17 00:00:00 2001 From: Jinjiang Date: Tue, 13 Mar 2018 10:15:38 +0800 Subject: [PATCH] [docs][zh-cn] synced #2091 --- docs/en/essentials/history-mode.md | 1 + docs/zh-cn/essentials/history-mode.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/en/essentials/history-mode.md b/docs/en/essentials/history-mode.md index 7eab4abf6..759c9ea16 100644 --- a/docs/en/essentials/history-mode.md +++ b/docs/en/essentials/history-mode.md @@ -31,6 +31,7 @@ Not to worry: To fix the issue, all you need to do is add a simple catch-all fal RewriteRule . /index.html [L] ``` + Instead of `mod_rewrite`, you could also use [`FallbackResource`](https://httpd.apache.org/docs/2.2/mod/mod_dir.html#fallbackresource). #### nginx diff --git a/docs/zh-cn/essentials/history-mode.md b/docs/zh-cn/essentials/history-mode.md index ff6cc26b1..ee27f0c56 100644 --- a/docs/zh-cn/essentials/history-mode.md +++ b/docs/zh-cn/essentials/history-mode.md @@ -32,6 +32,8 @@ const router = new VueRouter({ ``` +除了 `mod_rewrite`,你也可以使用 [`FallbackResource`](https://httpd.apache.org/docs/2.2/mod/mod_dir.html#fallbackresource)。 + #### nginx ```nginx