mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 20:36:27 +00:00
8558cf00a2
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
9 lines
212 B
TypeScript
9 lines
212 B
TypeScript
import Component from 'vue-class-component';
|
|
|
|
// Register the router hooks with their names
|
|
Component.registerHooks([
|
|
'beforeRouteEnter',
|
|
'beforeRouteLeave',
|
|
'beforeRouteUpdate', // for vue-router 2.2+
|
|
]);
|