next-ucap-messenger/projects/ucap-webmessenger-app/src/app/pages/messenger/messenger-routing.page.module.ts

19 lines
444 B
TypeScript
Raw Normal View History

2019-09-18 06:02:21 +00:00
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { MainPageComponent } from './components/main.page.component';
const routes: Routes = [
{ path: '', redirectTo: 'main', pathMatch: 'full' },
{
path: 'main',
component: MainPageComponent
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class AppMessengerRoutingPageModule {}