From: Per Enström Date: Wed, 10 Nov 2021 12:44:30 +0000 (+0100) Subject: docs: better example (#1196) X-Git-Tag: v4.0.13~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3acca1277f84bdc9d9ed4ba1e772091dc720016e;p=thirdparty%2Fvuejs%2Frouter.git docs: better example (#1196) --- diff --git a/docs/guide/essentials/redirect-and-alias.md b/docs/guide/essentials/redirect-and-alias.md index d825aa5d..c91ead37 100644 --- a/docs/guide/essentials/redirect-and-alias.md +++ b/docs/guide/essentials/redirect-and-alias.md @@ -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: '/' }]