Skip to content

Commit

Permalink
docs: Update doc-block comment for beforeResolve (vuejs#1165) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
n-gray authored Oct 22, 2021
1 parent fea5c53 commit 4fd66cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export interface Router {
*
* @example
* ```js
* router.beforeEach(to => {
* router.beforeResolve(to => {
* if (to.meta.requiresAuth && !isAuthenticated) return false
* })
* ```
Expand Down

0 comments on commit 4fd66cf

Please sign in to comment.