Static GitHub Issues

[2611] this.$route.matched only returns one route

prev: Async/Await not working since v1.0.0
next: Understanding aliases

I'm trying to build a breadcrumb. The problem is that with dynamic routes $route.matched only seems to return the current route.

Please see the example routes below (associated files in parens):

/users (pages/users/index.vue) /users/:id (pages/users/_id.vue)

Are there any recommendations on how to best go about building up a breadcrumb with Nuxt? Shouldn't I be seeing parent routes in $route.matched?

<!--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/c2271">#c2271</a>)</em></sub></div>