I have a profile banner component along with many other components in Components module and I am using the ComponentModule import in the page modules i am using. I have DashboardPage which in turn has ProfilePage. I am trying to use the in ProfilePage. I am not able to see the content and also there is no error shown.
@NgModule({
declarations: [
HeaderComponent,
HeaderProfilePopoverComponent,
HomeHeaderPopverComponent,
ProfileBannerComponent
],
imports: [
CommonModule,
IonicModule
],
exports: [
HeaderComponent,
HeaderProfilePopoverComponent,
HomeHeaderPopverComponent,
ProfileBannerComponent
]
})
export class ComponentsModule { }
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
ProfilePageRoutingModule,
ComponentsModule
],
declarations: [ProfilePage]
})
export class ProfilePageModule {}
Below is html from profilepage
<app-header></app-header>
<app-profile-banner></app-profile-banner>
profile banner component is not showing up in profile page.
1 post - 1 participant