Hi,
i searched in examples and in issues, but nothing of similar of my problem.
I want use breadcrumb with routerLink but if I put routerLink (no url) I obtain an error:
EXCEPTION: Error in ./Breadcrumb class Breadcrumb - inline template:7:24 caused by: commands.reduce is not a function
ORIGINAL EXCEPTION: commands.reduce is not a function
Instead, if I use url I obtain a page reload.
Thanks in advance.
Salvo
Sorry, but I founded a solution (I hope that the doc become more descriptive in future).
Breadcrumb with url: [{label: 'label', url: 'http://...'}]
Breadcrumb with routerLink: [{label: 'label', routerLink: ['/foo', fooId]}]
Regards
Most helpful comment
Sorry, but I founded a solution (I hope that the doc become more descriptive in future).
Breadcrumb with url:
[{label: 'label', url: 'http://...'}]Breadcrumb with routerLink:
[{label: 'label', routerLink: ['/foo', fooId]}]Regards