Comments (10)
π Hey @charmbv
Thanks for flagging your first issue! We're on it! Please provide all the details you can
Got a fix? Send a PR! π Check out our local dev guide
If you like this project, please βstarβ our repo.
from xng-breadcrumb.
@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.
from xng-breadcrumb.
This is not a proper solution to the issue. I've been using overrides
but will be looking for another solution.
from xng-breadcrumb.
After migrating to Angular 17, I've encountered the same issue. This library is now requiring unexpected refactoring.
from xng-breadcrumb.
Instead of
import { BreadcrumbModule } from 'xng-breadcrumb';
@NgModule({
imports: [
BreadcrumbModule,
],
Use
import { BreadcrumbComponent, BreadcrumbItemDirective } from 'xng-breadcrumb';
@NgModule({
imports: [
BreadcrumbComponent, BreadcrumbItemDirective,
],
from xng-breadcrumb.
@charmbv With Angular 17+, we use standalone components.
https://udayvunnam.github.io/xng-breadcrumb/#/quickstart?id=standalone-components
Try this -
import { BreadcrumbComponent, BreadcrumbItemDirective } from 'xng-breadcrumb';
@Component({
standalone: true,
imports: [RouterModule, BreadcrumbComponent, BreadcrumbItemDirective],
templateUrl: './app.component.html',
...
})
export class AppComponent {}
from xng-breadcrumb.
Any update on this?
from xng-breadcrumb.
@charmbv @TomislavMedved @charmbv Try using the lower version npm install [email protected]
their might be some dependency errors but if you Confidentially find everything correct then run this command npm install [email protected] --legacy-peer-deps
.
from xng-breadcrumb.
Any update?
from xng-breadcrumb.
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
from xng-breadcrumb.
Related Issues (20)
- Set multiple breadcrumbs regardless of route HOT 11
- Need docs! HOT 2
- xng-breadcrumb not working in Angular Ionic HOT 2
- Hiding the breadcrumbs with one level only HOT 3
- Breadcrumb doesn't work on routes using `matcher` HOT 5
- Property '"autoGenerate"' is incompatible with index signature. HOT 3
- Double rendering with provideClientHydratation Angular 16 HOT 4
- Customizing breadcrumb HOT 3
- Breadcrumb Links Not Working HOT 4
- Breadcrumb labels no longer working with loadChildren HOT 5
- Duplicate breadcrumbs on Angular 17 HOT 6
- Support for Angular 17 HOT 16
- Typo in Dynamic breadcrumbs example HOT 1
- Custom aria-label for accessibility in other languages HOT 2
- Breadcrumb temporarily disappears during resolver data loading HOT 2
- Breadcrumb displays ** when same component is navigated reclusively using route config - path: '**'. Breadcrumb on UI doesn't update event after using breadcrumbService.set('@alias', 'updated Value') HOT 2
- Add support for Angular v18 HOT 2
- Breadcrumb is not shown for routes that use matcher instead of path
- Angular 18 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xng-breadcrumb.