Skip to content

Commit

Permalink
docs: remove mention to beforeLeave
Browse files Browse the repository at this point in the history
Closes #2929
  • Loading branch information
posva committed Sep 17, 2019
1 parent 0982cc9 commit 41b9ac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/fr/guide/essentials/redirect-and-alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const router = new VueRouter({
})
```

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.
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.

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

Expand Down
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 @@ -35,7 +35,7 @@ const router = new VueRouter({
})
```

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.
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.

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

Expand Down

0 comments on commit 41b9ac8

Please sign in to comment.