tab11-routing.module.ts 493 B

12345678910111213141516171819202122
  1. import { NgModule } from '@angular/core';
  2. import { Routes, RouterModule } from '@angular/router';
  3. import { Tab11Page } from './tab11.page';
  4. const newLocal = './tab1/tab11/tab11.module';
  5. const routes: Routes = [
  6. {
  7. path: '',
  8. component: Tab11Page
  9. },
  10. {
  11. path: 'tab11/:id',
  12. loadChildren: () => import(newLocal).then( m => m.Tab11PageModule)
  13. },
  14. ];
  15. @NgModule({
  16. imports: [RouterModule.forChild(routes)],
  17. exports: [RouterModule],
  18. })
  19. export class Tab11PageRoutingModule {}