Skip to content

Commit ca19a1f

Browse files
AVGPposva
authored andcommitted
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.
1 parent 8161493 commit ca19a1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: docs/guide/essentials/history-mode.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Not to worry: To fix the issue, all you need to do is add a simple catch-all fal
1919

2020
## Example Server Configurations
2121

22+
**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/`).
23+
2224
#### Apache
2325

2426
```apache

0 commit comments

Comments
 (0)