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

import { IndexPageComponent } from './components/index.page.component';
import { SidenavPageComponent } from './components/sidenav.page.component';

const routes: Routes = [
  {
    path: 'index',
    outlet: 'content',
    component: IndexPageComponent
  },
  {
    path: '',
    component: SidenavPageComponent
  }
];

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