mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-06 06:03:58 +00:00
15 lines
230 B
JavaScript
15 lines
230 B
JavaScript
|
import Component from 'vue-class-component'
|
||
|
|
||
|
Component.registerHooks([
|
||
|
'beforeRouteEnter',
|
||
|
'beforeRouteLeave',
|
||
|
'asyncData',
|
||
|
'fetch',
|
||
|
'middleware',
|
||
|
'layout',
|
||
|
'transition',
|
||
|
'scrollToTop'
|
||
|
])
|
||
|
|
||
|
export default Component
|