ng2-breadcrumb has been migrated to Angular 5 (ng5-breadcrumb)#94
ng2-breadcrumb has been migrated to Angular 5 (ng5-breadcrumb)#94aissam-ahbar wants to merge 3 commits intogmostert:masterfrom
Conversation
…readcrumb. The project is a fork from https://github.com/gmostert/ng2-breadcrumb
| imports: [ | ||
| CommonModule | ||
| ], | ||
| declarations: [BreadcrumbComponent] |
There was a problem hiding this comment.
You are missing the export for BreadcrumbComponent. Without this export the module won't work on its own. In your example app.module.ts you declare the component and service manually,
|
Issue after upgrading to ng5-breadcrumb and Angular 5.0 getting below error in console ][useBootstrap]="false" prefix="Pepper Ops">
"): ng:///PagesModule/PagesComponent.html@30:16
'breadcrumb' is not a known element:
If 'breadcrumb' is an Angular component, then verify that it is part of this module. |
Fixing an issue in getFriendlyNameForRoute leading to a compilation error with typescript.
|
Hi guys, I fixed this issue coming from a missing export of the ng5-breadcrumb module. To download it, just use npm to install the ng5-breadcrumb: Regards, |
|
This doesn’t seem to work with the latest on npm |
|
I added the exports to the npm module, all my builds were fixed but no breadcrumbs appeared on my lazy loaded modules like before. Until this is fixed, I'm copying the source and importing the old ng2-breadcrumb directly into my angular 5 project and if I can fix that aot error I'll make a pull to this repo. @aissamJ thanks for fixing the build issues, but I can't get the components to work. I think a very small pull request fixing the aot issues for angular 5 will suffice |
|
Upon adding the old ng2-breadcrumb directly into a massive sass project (30+ components use breadcrumbs lazily) without npm, everything works properly. It is simply the build system and exporting that needs reworking - not a complete rewrite or reformatting |
No description provided.