js/example-app/app/pages/auth/auth-page-routing.module.ts
crusader bd8104ffe2 ing
2018-03-18 00:03:13 +09:00

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 { }