I can see in VueRouter that you can get the view depth with:
this.$vnode.data.routerViewDepth
I can also see that the nuxt-child
appears to send some data to router-view
which include nuxtChildDepth
I'm look to get this depth out in the asyncData function - would this be possible? I know asyncData is not called with this
context but is there any way to access the props passed to a component or the depth? I couldn't see the variable in any of the context passed but thought I'd ask.