Skip to content

Commit 41b9ac8

Browse files
committed
docs: remove mention to beforeLeave
Closes #2929
1 parent 0982cc9 commit 41b9ac8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: docs/fr/guide/essentials/redirect-and-alias.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const router = new VueRouter({
3535
})
3636
```
3737

38-
Notez que les [intercepteurs de navigation](../advanced/navigation-guards.md) ne sont pas appliqués sur les routes d'où à lieu la redirection mais uniquement sur les routes cibles. Dans l'exemple ci-dessous, ajouter une interception `beforeEnter` ou `beforeLeave` à la route `/a` n'aura aucun effet.
38+
Notez que les [intercepteurs de navigation](../advanced/navigation-guards.md) ne sont pas appliqués sur les routes d'où à lieu la redirection mais uniquement sur les routes cibles. Dans l'exemple ci-dessous, ajouter une interception `beforeEnter` à la route `/a` n'aura aucun effet.
3939

4040
Pour d'autres utilisations avancées, jetez un œil à cet [exemple](https://github.com/vuejs/vue-router/blob/dev/examples/redirect/app.js).
4141

Diff for: docs/guide/essentials/redirect-and-alias.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const router = new VueRouter({
3535
})
3636
```
3737

38-
Note that [Navigation Guards](../advanced/navigation-guards.md) are not applied on the route that redirects, only on its target. In the example below, adding a `beforeEnter` or `beforeLeave` guard to the `/a` route would not have any effect.
38+
Note that [Navigation Guards](../advanced/navigation-guards.md) are not applied on the route that redirects, only on its target. In the example below, adding a `beforeEnter` guard to the `/a` route would not have any effect.
3939

4040
For other advanced usage, checkout the [example](https://github.com/vuejs/vue-router/blob/dev/examples/redirect/app.js).
4141

0 commit comments

Comments
 (0)