Skip to content

Return values instead of calling next in router guards

Valentin Rigal requested to merge navigation-guards into master

Closes #1087 (closed)

Unfortunately, we have to keep the next callable in beforeRouteEnter in order to manipulate component's data once the route is confirmed : https://router.vuejs.org/guide/advanced/navigation-guards.html#using-the-options-api.

Merge request reports

Loading