19 lines
441 B
TypeScript
19 lines
441 B
TypeScript
|
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 MessengerRoutingPageModule {}
|