Skip to content

Commit 63d903d

Browse files
utizrposva
authored andcommitted
navigation guard signature (#781)
the signature of the beforeEnter changed in the new version
1 parent 905de8d commit 63d903d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/api/options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
redirect?: string | Location | Function;
1616
alias?: string | Array<string>;
1717
children?: Array<RouteConfig>; // for nested routes
18-
beforeEnter?: (route: Route, redirect: Function, next: Function) => void;
18+
beforeEnter?: (to: Route, from: Route, next: Function) => void;
1919
meta?: any;
2020
}
2121
```

0 commit comments

Comments
 (0)