Suppress autmatically added Home Breadcrumb
Closed this issue · 2 comments
mariolegnini commented
Hi, Quick question... is there any way to suppress showing the automatic Home Breadcrumb? Thanks.
icd2k3 commented
hi @mariolegnini, yep there are a couple ways to do this actually!
You can pass null in the route config object
{ path: '/', breadcrumb: null }
Or you can use the excludePaths
option
withBreadcrumbs(routes, { excludePaths: ['/'] })
mariolegnini commented
Thanks for the super fast response it's appreciated! It Works.