Types: BeforeRouteHookLifecycle
ts
type BeforeRouteHookLifecycle: "onBeforeRouteEnter" | "onBeforeRouteUpdate" | "onBeforeRouteLeave";
Enumerates the lifecycle events for before route hooks.