From 28cbbf0658ea48e660f7d347fc8f496c2414ae69 Mon Sep 17 00:00:00 2001 From: Alexander Sokolov Date: Fri, 25 May 2018 12:13:17 +0300 Subject: [PATCH 1/2] Update fallback-option in API --- docs/api/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api/README.md b/docs/api/README.md index 6c6780f39..c1d4e9901 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -254,7 +254,9 @@ Since it's just a component, it works with `` and ``. Wh - type: `boolean` - Controls whether the router should fallback to `hash` mode when the browser does not support `history.pushState`. Defaults to `true`. +- default: `true` + + Controls whether the router should fallback to `hash` mode when the browser does not support `history.pushState`. Setting this to `false` essentially makes every `router-link` navigation a full page refresh in IE9. This is useful when the app is server-rendered and needs to work in IE9, because a hash mode URL does not work with SSR. From 1f3590b005f404fb0f923b3ec60d92a24389d164 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 25 May 2018 14:18:28 +0200 Subject: [PATCH 2/2] Update README.md --- docs/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/README.md b/docs/api/README.md index c1d4e9901..a9e381452 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -256,7 +256,7 @@ Since it's just a component, it works with `` and ``. Wh - default: `true` - Controls whether the router should fallback to `hash` mode when the browser does not support `history.pushState`. + Controls whether the router should fallback to `hash` mode when the browser does not support `history.pushState` but mode is set to `history`. Setting this to `false` essentially makes every `router-link` navigation a full page refresh in IE9. This is useful when the app is server-rendered and needs to work in IE9, because a hash mode URL does not work with SSR.