overflow-webapp/src/packages/member/member.module.ts

41 lines
1.1 KiB
TypeScript
Raw Normal View History

2018-01-29 20:58:12 +09:00
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
2018-02-27 17:34:12 +09:00
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MaterialModule } from 'app/commons/ui/material/material.module';
2018-03-01 19:54:01 +09:00
import { ModifyComponent } from './component/modify/modify.component';
import { SigninComponent } from './component/signin/signin.component';
import { SignupComponent } from './component/signup/signup.component';
import { ResetPasswordComponent } from './component/reset-password/reset-password.component';
2018-02-27 17:34:12 +09:00
import { MemberService } from './service/member.service';
2018-02-27 22:01:13 +09:00
import { AuthGuard } from './guard/auth.guard';
2018-02-27 17:34:12 +09:00
import { MemberStoreModule } from './member-store.module';
export const COMPONENTS = [
ModifyComponent,
SigninComponent,
SignupComponent,
ResetPasswordComponent,
];
2018-01-29 20:58:12 +09:00
@NgModule({
imports: [
CommonModule,
2018-02-27 17:34:12 +09:00
RouterModule,
FormsModule,
ReactiveFormsModule,
MaterialModule,
MemberStoreModule,
2018-01-29 20:58:12 +09:00
],
2018-02-27 17:34:12 +09:00
declarations: COMPONENTS,
exports: COMPONENTS,
2018-01-29 20:58:12 +09:00
providers: [
2018-02-27 22:01:13 +09:00
AuthGuard,
2018-01-29 20:58:12 +09:00
MemberService,
2018-02-27 17:34:12 +09:00
],
2018-01-29 20:58:12 +09:00
})
export class MemberModule { }