From 4fd66cf2da5f90a0935971e579444d71e99b102d Mon Sep 17 00:00:00 2001 From: n-gray <88853828+n-gray@users.noreply.github.com> Date: Fri, 22 Oct 2021 04:32:35 -0500 Subject: [PATCH] docs: Update doc-block comment for beforeResolve (#1165) [skip ci] --- src/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router.ts b/src/router.ts index 7e0b7fc1..01e58661 100644 --- a/src/router.ts +++ b/src/router.ts @@ -289,7 +289,7 @@ export interface Router { * * @example * ```js - * router.beforeEach(to => { + * router.beforeResolve(to => { * if (to.meta.requiresAuth && !isAuthenticated) return false * }) * ``` -- 2.39.5