♻ Move project source files to top level from src, update Sentry dependency (#630)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
8
frontend/src/component-hooks.ts
Normal file
8
frontend/src/component-hooks.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import Component from 'vue-class-component';
|
||||
|
||||
// Register the router hooks with their names
|
||||
Component.registerHooks([
|
||||
'beforeRouteEnter',
|
||||
'beforeRouteLeave',
|
||||
'beforeRouteUpdate', // for vue-router 2.2+
|
||||
]);
|
||||
Reference in New Issue
Block a user