import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { Tab12Page } from './tab12.page';

const newLocal = './tab1/tab12/tab12.module';
const routes: Routes = [
  {
    path: '',
    component: Tab12Page
  },
  {
    path: 'tab12/:id',
    loadChildren: () => import(newLocal).then( m => m.Tab12PageModule)
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class Tab12PageRoutingModule {}
