Nuxt/examples/vue-class-component/plugins/nuxt-class-component.js
2017-04-14 16:47:21 +02:00

15 lines
230 B
JavaScript

import Component from 'vue-class-component'
Component.registerHooks([
'beforeRouteEnter',
'beforeRouteLeave',
'asyncData',
'fetch',
'middleware',
'layout',
'transition',
'scrollToTop'
])
export default Component