Nuxt.js: Vue router and vue2-vreadcrumbs

Created on 3 Apr 2017  路  3Comments  路  Source: nuxt/nuxt.js

How to implement 'breadcrumbs' in nuxt.js c using the vue2-breadcrumbs package?
Or another implementation.

This question is available on Nuxt.js community (#c441)
help-wanted

Most helpful comment

@alexchopin but how to do it? Now in $route.matched always only one item - current route. Will be any updates in incoming 1.0 release?

All 3 comments

Hi, you cannot use vue-router meta with nuxt as vue2-breadcrumbs seems to use. The best solution is to use the store and/or a middleware to do the same as vue2-breadcrumbs.

@alexchopin but how to do it? Now in $route.matched always only one item - current route. Will be any updates in incoming 1.0 release?

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shyamchandranmec picture shyamchandranmec  路  3Comments

danieloprado picture danieloprado  路  3Comments

surmon-china picture surmon-china  路  3Comments

VincentLoy picture VincentLoy  路  3Comments

lazycrazy picture lazycrazy  路  3Comments