main.ts is configured as follows
import Component from "vue-class-component";
Component.registerHooks ([
"beforeRouteEnter",
"beforeRouteLeave",
"beforeRouteUpdate",
]);
but using beforeRouteEnter () in the component does not execute
private beforeRouteUpdate (to: Route, form: Route, next: () = > void): void {
console.log(11)
next();
}