From 7a4e9685dc1a2871c6644ecf346d84fdcb011e76 Mon Sep 17 00:00:00 2001 From: Martin Splitt Date: Thu, 3 Oct 2019 10:02:59 +0200 Subject: [PATCH 1/3] Adds note on subfolders to history mode samples fixes #2863 --- docs/guide/essentials/history-mode.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/essentials/history-mode.md b/docs/guide/essentials/history-mode.md index 759c9ea16..efe0a5ceb 100644 --- a/docs/guide/essentials/history-mode.md +++ b/docs/guide/essentials/history-mode.md @@ -19,6 +19,8 @@ Not to worry: To fix the issue, all you need to do is add a simple catch-all fal ## Example Server Configurations +**Note**: The following examples assume you are serving your app from the root folder. If you deploy to a subfolder, see [the `publicPath` option of Vue CLI](https://cli.vuejs.org/config/#publicpath) and the related [`base` property of the router](https://router.vuejs.org/api/#base). + #### Apache ```apache From afa5190377e91374103e3d733dbe3700e7161cec Mon Sep 17 00:00:00 2001 From: Martin Splitt Date: Fri, 4 Oct 2019 09:53:53 +0200 Subject: [PATCH 2/3] Be a little more explicit in history mode guide --- docs/guide/essentials/history-mode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/essentials/history-mode.md b/docs/guide/essentials/history-mode.md index efe0a5ceb..4d7df94bb 100644 --- a/docs/guide/essentials/history-mode.md +++ b/docs/guide/essentials/history-mode.md @@ -19,7 +19,7 @@ Not to worry: To fix the issue, all you need to do is add a simple catch-all fal ## Example Server Configurations -**Note**: The following examples assume you are serving your app from the root folder. If you deploy to a subfolder, see [the `publicPath` option of Vue CLI](https://cli.vuejs.org/config/#publicpath) and the related [`base` property of the router](https://router.vuejs.org/api/#base). +**Note**: The following examples assume you are serving your app from the root folder. If you deploy to a subfolder, you should use [the `publicPath` option of Vue CLI](https://cli.vuejs.org/config/#publicpath) and the related [`base` property of the router](https://router.vuejs.org/api/#base). You also need to adjust the examples below to use the subfolder instead of the root folder (e.g. replacing `RewriteBase /` with `RewriteBase /name-of-your-subfolder/`) #### Apache From 2c182c50d3b569a76d908d8d19fdac033ddedbb2 Mon Sep 17 00:00:00 2001 From: Martin Splitt Date: Fri, 4 Oct 2019 14:47:02 +0200 Subject: [PATCH 3/3] Adds missing full stop. --- docs/guide/essentials/history-mode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/essentials/history-mode.md b/docs/guide/essentials/history-mode.md index 4d7df94bb..5eeaad033 100644 --- a/docs/guide/essentials/history-mode.md +++ b/docs/guide/essentials/history-mode.md @@ -19,7 +19,7 @@ Not to worry: To fix the issue, all you need to do is add a simple catch-all fal ## Example Server Configurations -**Note**: The following examples assume you are serving your app from the root folder. If you deploy to a subfolder, you should use [the `publicPath` option of Vue CLI](https://cli.vuejs.org/config/#publicpath) and the related [`base` property of the router](https://router.vuejs.org/api/#base). You also need to adjust the examples below to use the subfolder instead of the root folder (e.g. replacing `RewriteBase /` with `RewriteBase /name-of-your-subfolder/`) +**Note**: The following examples assume you are serving your app from the root folder. If you deploy to a subfolder, you should use [the `publicPath` option of Vue CLI](https://cli.vuejs.org/config/#publicpath) and the related [`base` property of the router](https://router.vuejs.org/api/#base). You also need to adjust the examples below to use the subfolder instead of the root folder (e.g. replacing `RewriteBase /` with `RewriteBase /name-of-your-subfolder/`). #### Apache