From ca19a1f722907d65410f0f9f5ed2c850b09c8d04 Mon Sep 17 00:00:00 2001 From: Martin Splitt Date: Fri, 4 Oct 2019 16:25:27 +0200 Subject: [PATCH] docs: adds note about subfolders to history mode samples (#2954) * Adds note on subfolders to history mode samples fixes #2863 * Be a little more explicit in history mode guide * Adds missing full stop. --- 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..5eeaad033 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, 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 ```apache