overflow-webapp/src/app/pages/auth/auth-routing.module.ts
crusader 948999efae ing
2018-01-26 21:30:25 +09:00

22 lines
529 B
TypeScript

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthComponent } from './auth.component';
import { SigninComponent } from './signin/signin.component';
const routes: Routes = [
{
path: '',
component: AuthComponent,
children: [
{ path: '', redirectTo: 'signin' },
{ path: 'signin', component: SigninComponent },
]
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class AuthRoutingModule { }