46 lines
1.5 KiB
TypeScript
46 lines
1.5 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { MatInputModule } from '@angular/material/input';
|
|
import { MatCardModule } from '@angular/material/card';
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
import { MatExpansionModule } from '@angular/material/expansion';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppComponent } from './app.component';
|
|
import { PostCreateComponent } from './posts/post-create/post-create.component';
|
|
import { HeaderComponent } from './header/header.component';
|
|
import { PostListComponent } from './posts/post-list/post-list.component';
|
|
import { PostService } from './posts/posts.service';
|
|
import { ViewerComponent } from './viewer/viewer.component';
|
|
import { LoginComponent } from './login/login.component';
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent,
|
|
PostCreateComponent,
|
|
HeaderComponent,
|
|
ViewerComponent,
|
|
LoginComponent,
|
|
PostListComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
AppRoutingModule,
|
|
FormsModule,
|
|
HttpClientModule,
|
|
MatInputModule,
|
|
MatCardModule,
|
|
MatButtonModule,
|
|
MatToolbarModule,
|
|
MatExpansionModule,
|
|
BrowserAnimationsModule
|
|
],
|
|
providers: [],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|