dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_InfoPageModule cluster_InfoPageModule_declarations InfoPage InfoPage InfoPageModule InfoPageModule InfoPage->InfoPageModule

File

src/app/LibraryInfo/info/info.module.ts

Declarations

import { MenuTitleComponentModule } from './../../components/menu-title/menu-title.module';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';

import { IonicModule } from '@ionic/angular';

import { InfoPage } from './info.page';

const routes: Routes = [
  {
    path: '',
    component: InfoPage,
    children: [
      { path: '', redirectTo: 'overview', pathMatch: 'full' },
      { path: 'about', loadChildren: '../about/about.module#AboutPageModule' },
      { path: 'overview', loadChildren: '../overview/overview.module#OverviewPageModule' }
    ]
  }
];

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    RouterModule.forChild(routes),
    MenuTitleComponentModule
  ],
  declarations: [InfoPage]
})
export class InfoPageModule {}

result-matching ""

    No results matching ""