Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ng-Bootstrap nav (tab) not showing content of tabs whatsoever

I created a stackblitz:

https://stackblitz.com/edit/angular-ivy-ghhkp6?file=src%2Fapp%2Fapp.component.html

I'm doing something wrong, but I don't understand what. I'm basically using the example on the website.

Any help?

like image 348
monxas Avatar asked Oct 21 '25 15:10

monxas


1 Answers

Add <div [ngbNavOutlet]="nav"></div> this html at the end of your ul element. I tested it on stackblitz and it's working now. Updated stackbltiz link: https://stackblitz.com/edit/angular-ivy-knqfd2?file=src/app/app.component.html

like image 196
Mir entafaz Ali Avatar answered Oct 23 '25 04:10

Mir entafaz Ali



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!