Add pages/_app.vue
[issue link]Default:
<template>
<nuxt></nuxt>
</template>
Can be for example: https://github.com/vuejs/vue-hackernews-2.0/blob/master/src/App.vue
And replacing:
<transition name="fade" mode="out-in">
<router-view class="view"></router-view>
</transition>
By:
<nuxt class="view"></nuxt>
Have to register Vue.component('nuxt', 'Nuxt.vue') (actual App.vue)
What about app.error() -> app.nuxt.error(), same for app.$loading
// Nuxt.vue
created() {
this.$root.nuxt = thi
}
BOUM 🎉