X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fapp%2Fapp.module.ts;h=b2b66d61892e8ac55200f8f44b9c9783219a1104;hb=a172837fe042e8acb3030df2d84cd39615cf5a11;hp=d947470ccc23b3bfe6c17e04b3a4bc1858a6bf7d;hpb=53ae6990eb208b7631e46d95a4a65215e1b1b5ac;p=demos%2Fkafka%2Fchat diff --git a/src/app/app.module.ts b/src/app/app.module.ts index d947470c..b2b66d61 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,20 +1,24 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; -import { FormsModule } from "@angular/forms"; +import { ReactiveFormsModule } from "@angular/forms"; import { HttpClientModule } from '@angular/common/http'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { ChatroomsComponent } from './chatrooms/chatrooms.component'; +import { UserComponent } from './user/user.component'; +import { ChatroomComponent } from './chatroom/chatroom.component'; @NgModule({ declarations: [ AppComponent, - ChatroomsComponent + ChatroomsComponent, + UserComponent, + ChatroomComponent ], imports: [ BrowserModule, - FormsModule, + ReactiveFormsModule, HttpClientModule, AppRoutingModule ],