-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwidgets.module.ts
More file actions
35 lines (33 loc) · 1.13 KB
/
widgets.module.ts
File metadata and controls
35 lines (33 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HeaderComponent } from './header/header.component';
import { FooterComponent } from './footer/footer.component';
import { RouterModule } from '@angular/router';
import { PostCardComponent } from './post-card/post-card.component';
import { CdkModule } from '../cdk/cdk.module';
import { PostCardWideComponent } from './post-card-wide/post-card-wide.component';
import { KeyboardShortcutsModule } from 'ng-keyboard-shortcuts';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { LikeDislikeComponent } from './like-dislike/like-dislike.component';
import { CommandLineModule } from 'src/app/addons/command-line/command-line.module';
const components = [
HeaderComponent,
FooterComponent,
PostCardComponent,
PostCardWideComponent,
LikeDislikeComponent
];
@NgModule({
declarations: components,
imports: [
CommonModule,
CommandLineModule,
RouterModule,
CdkModule,
ReactiveFormsModule,
FormsModule,
KeyboardShortcutsModule.forRoot(),
],
exports:components
})
export class WidgetsModule { }