26 lines
697 B
TypeScript
26 lines
697 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { RouterModule } from '@angular/router';
|
|
import { MaterialModule } from './material';
|
|
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
import { TableComponent } from './table/table.component';
|
|
import { FormComponent } from './form/form.component';
|
|
|
|
|
|
|
|
@NgModule({
|
|
declarations: [TableComponent, FormComponent],
|
|
imports: [
|
|
CommonModule,
|
|
MaterialModule,
|
|
FormsModule,
|
|
ReactiveFormsModule,
|
|
RouterModule.forChild([
|
|
{ path: '', component: TableComponent },
|
|
{ path: 'form/:id', component: FormComponent },
|
|
|
|
])
|
|
]
|
|
})
|
|
export class VolunteerModule { }
|