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 :tada:
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This feature request is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c7">#c7</a>)</em></sub></div>