Skip to content
Перевод синхронизирован с документацией от , хэш коммита 0d8d997.

Документация API / NavigationGuard

Интерфейс: NavigationGuard

Навигационный хук.

Вызов

NavigationGuard(to, from, next): _Awaitable<NavigationGuardReturn>

Параметры

НазваниеТип
toRouteLocationNormalizedGeneric
fromRouteLocationNormalizedLoadedGeneric
nextNavigationGuardNext

Возвращает

_Awaitable<NavigationGuardReturn>

Released under the MIT License.

FREE WEEKEND
Unlimited access to ALL Vue School courses
8-9 November 2025
Reserve Your Spot
8-9 November 2025