Issue
I've added xng-breadcrumbs to my Angular 9 app. The breadcrumbs are empty after page reload. Minimal reproducible example is: this Stackblitz, where navigating to parent/child2 route renders the breadcrumbs but reloading wipes them out. What am I doing wrong?
Solution
You can resolve this issue by injecting the BreadcrumbService in your AppComponent:
export class AppComponent {
constructor(private breadcrumbService: BreadcrumbService) {}
}
Answered By - BizzyBob
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.