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