-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular 17: Module '"xng-breadcrumb"' has no exported member 'BreadcrumbModule'. #196
Comments
👋 Hey @charmbv If you like this project, please ⭐star⭐ our repo. |
@charmbv With Angular 17+, we use standalone components. https://udayvunnam.github.io/xng-breadcrumb/#/quickstart?id=standalone-components Try this -
|
@udayvunnam Won't work as I'm not using standalone components. This is not a requirement for using Angular 17+ so it shouldn't be a requirement for this library as well. |
Any update on this? |
@charmbv @TomislavMedved @charmbv Try using the lower version |
This is not a proper solution to the issue. I've been using |
After migrating to Angular 17, I've encountered the same issue. This library is now requiring unexpected refactoring. |
Any update? |
Instead of import { BreadcrumbModule } from 'xng-breadcrumb';
@NgModule({
imports: [
BreadcrumbModule,
], Use import { BreadcrumbComponent, BreadcrumbItemDirective } from 'xng-breadcrumb';
@NgModule({
imports: [
BreadcrumbComponent, BreadcrumbItemDirective,
], |
The provided solution from JakeAi worked for me |
🐞 Bug report
Description
Upgraded to version v11.0.0 of
xng-breadcrumb
and now get the following error:when I try to import the module. This is with Angular v17.3.4 and not using standalone components.
Angular Version:
The text was updated successfully, but these errors were encountered: