24 lines
561 B
TypeScript
24 lines
561 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { Routes, RouterModule } from '@angular/router';
|
||
|
import { AuthPageComponent } from './auth-page.component';
|
||
|
|
||
|
import { SigninPageComponent } from './signin/signin-page.component';
|
||
|
|
||
|
const routes: Routes = [
|
||
|
{
|
||
|
path: '',
|
||
|
component: AuthPageComponent,
|
||
|
children: [
|
||
|
{ path: '', redirectTo: 'signin' },
|
||
|
{ path: 'signin', component: SigninPageComponent },
|
||
|
]
|
||
|
}
|
||
|
];
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [RouterModule.forChild(routes)],
|
||
|
exports: [RouterModule]
|
||
|
})
|
||
|
export class AuthPageRoutingModule { }
|
||
|
|