Used by ngbNav to implement tabs on the project link to the doc
There was a need to add routes for tabs, I used an example from the docks, but I could not configure the operation of the routes. What could be the reason?
routes: Routes = [
{path: '', component: PostsComponent},
{path: 'posts', component: PostsComponent},
{path: 'posts/:id', component: PostComponent},
{path: 'posts/:id#one', component: Tab1Component},
{path: 'posts/:id#two', component: Tab2Component},
]
For the "posts/:id#one" and "posts/:id#two" route, no reaction occurs.
It’s not suitable to use the router module at all, I need the ability to add resolvers and guards for the route
link to an example implementation https://stackblitz.com/github/dedn/ngbNavAngular