Skip to content

Commit

Permalink
docs: better example (vuejs#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
perenstrom-bontouch authored Nov 10, 2021
1 parent 8927e83 commit 3acca12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/essentials/redirect-and-alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Redirect

Redirecting is also done in the `routes` configuration. To redirect from `/a` to `/b`:
Redirecting is also done in the `routes` configuration. To redirect from `/home` to `/`:

```js
const routes = [{ path: '/home', redirect: '/' }]
Expand Down

0 comments on commit 3acca12

Please sign in to comment.