Static GitHub Issues

[1397] Nested Routes: Odd behavior

prev: How including fonts in css
next: Can't resolve imported styles when using 1.0.0-rc4

Hi all! I'm seeing what looks like a bug related to nested routes. I'm using vue-apollo, and my folder structure under /pages is as follows:

index.vue
_community.vue
_community/_post.vue
_community/index.vue

When navigating from index.vue -> _community/index.vue -> _post.vue - it works perfectly, with _post appearing via <nuxt-child />

when directly loading _community/index.vue -> _post.vue, or _community/_post -> to another _post.vue, _post.vue itself renders correctly via <nuxt-child /> - but the parent component _community/index.vue loses it's data, so all of it's elements requiring data disappear.

any ideas?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1239">#c1239</a>)</em></sub></div>