diff options
| author | transtrike <transtrike@gmail.com> | 2021-02-12 19:04:53 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-02-12 19:04:53 +0200 |
| commit | bcd88af53b1a920d728ec98b45daa9ac2e2c0917 (patch) | |
| tree | fd27eef086822b0f02f74364cac0b940956d2458 /src/app/app.module.ts | |
| parent | 1d1f05e3f74d70a558b4847a9107afa7952131cf (diff) | |
| download | DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.tar DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.tar.gz DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.zip | |
Moved from DevHive
Diffstat (limited to 'src/app/app.module.ts')
| -rw-r--r-- | src/app/app.module.ts | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/app/app.module.ts b/src/app/app.module.ts new file mode 100644 index 0000000..1bf44ad --- /dev/null +++ b/src/app/app.module.ts @@ -0,0 +1,62 @@ +import { BrowserModule } from '@angular/platform-browser'; +import { NgModule } from '@angular/core'; +import { ReactiveFormsModule } from '@angular/forms'; +import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { MatInputModule } from '@angular/material/input'; +import { MatButtonModule } from '@angular/material/button'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { HttpClientModule } from '@angular/common/http'; + +import { AppRoutingModule } from './app-routing.module'; +import { AppComponent } from './app.component'; +import { LoginComponent } from './components/login/login.component'; +import { RegisterComponent } from './components/register/register.component'; +import { FeedComponent } from './components/feed/feed.component'; +import { PostComponent } from './components/post/post.component'; +import { ProfileComponent } from './components/profile/profile.component'; +import { ProfileSettingsComponent } from './components/profile-settings/profile-settings.component'; +import { NotFoundComponent } from './components/not-found/not-found.component'; +import { LoadingComponent } from './components/loading/loading.component'; +import { ErrorBarComponent } from './components/error-bar/error-bar.component'; +import { SuccessBarComponent } from './components/success-bar/success-bar.component'; +import { PostPageComponent } from './components/post-page/post-page.component'; +import { AdminPanelPageComponent } from './components/admin-panel-page/admin-panel-page.component'; +import { CommentComponent } from './components/comment/comment.component'; +import { CommentPageComponent } from './components/comment-page/comment-page.component'; +import { PostAttachmentComponent } from './components/post-attachment/post-attachment.component'; +import { RouterModule } from '@angular/router'; + +@NgModule({ + declarations: [ + AppComponent, + LoginComponent, + RegisterComponent, + FeedComponent, + PostComponent, + ProfileComponent, + ProfileSettingsComponent, + NotFoundComponent, + LoadingComponent, + ErrorBarComponent, + SuccessBarComponent, + PostPageComponent, + AdminPanelPageComponent, + CommentComponent, + CommentPageComponent, + PostAttachmentComponent + ], + imports: [ + BrowserModule.withServerTransition({ appId: 'serverApp' }), + AppRoutingModule, + ReactiveFormsModule, + BrowserAnimationsModule, + MatFormFieldModule, + MatInputModule, + MatButtonModule, + HttpClientModule, + RouterModule + ], + providers: [], + bootstrap: [AppComponent] +}) +export class AppModule { } |
