Tabs not working


#1

Hi I am trying to do two tabs, I have this in my HTML code:

<ion-tabs>
  <ion-tab [root]="Intro" tabIcon="book"> </ion-tab>
  <ion-tab [root]="HelloIonic" tabIcon="star"> </ion-tab>
</ion-tabs>

When I go to my emulator, the screen is completely black, so, how could I fix it?

Thanks!


#2

Have you been able to fix this? I have been stuck on this for days.


#3

Could you give us the code you’re trying to get working? Did you get any errors on your console? Does it work in the browser? And did you already try to run it on a real device?