Skip to content

Commit

Permalink
docs: adds note about subfolders to history mode samples (#2954)
Browse files Browse the repository at this point in the history
* Adds note on subfolders to history mode samples

fixes #2863

* Be a little more explicit in history mode guide

* Adds missing full stop.
  • Loading branch information
AVGP authored and posva committed Oct 4, 2019
1 parent 8161493 commit ca19a1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/guide/essentials/history-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca19a1f

Please sign in to comment.