]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: better example (#1196)
authorPer Enström <per.enstrom@bontouch.com>
Wed, 10 Nov 2021 12:44:30 +0000 (13:44 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Nov 2021 12:44:30 +0000 (13:44 +0100)
docs/guide/essentials/redirect-and-alias.md

index d825aa5d5dc673b834bb47c0c0e33e4034c6a950..c91ead371bfc80e070bbafee16123911375e80fe 100644 (file)
@@ -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: '/' }]