1

I'm trying to create an apps which use nebular and ionic in the same project.

I have 2 parent routes, pages for nebular layout and ionic for ionic layout.

Inside ionic component I wrap everything using this code

<ion-app>
  <ion-router-outlet></ion-router-outlet>
</ion-app>

it is a standard layout for ionic, and its working just fine. but then, inside ionics child page, every time I use ion-content, everything inside ion-content is not rendered. But when I inspection-content and its content actually exist.

Here's if I don't use ion-content

enter image description here

Here's if I use it:

enter image description here

As you can see, ion-content actually exists. Any idea why?

EDIT

the problem was actually i forgot the routing thanks to alex, but it still have an issue with the routing.

if i click one of the messages using routerLink to /ionic/message/USERID i cant see the inside of that message. enter image description here it's blank but the message is exsist, then when i reload it's rendered but app-home doesn't exsist. enter image description here

why is that?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
naoval luthfi
  • 703
  • 7
  • 20

0 Answers0