feat: A Username must not be empty
[demos/kafka/chat] / src / app / app.module.ts
1 import { NgModule } from '@angular/core';
2 import { BrowserModule } from '@angular/platform-browser';
3 import { ReactiveFormsModule } from "@angular/forms";
4 import { HttpClientModule } from '@angular/common/http';
5
6 import { AppRoutingModule } from './app-routing.module';
7 import { AppComponent } from './app.component';
8 import { ChatroomsComponent } from './chatrooms/chatrooms.component';
9 import { UserComponent } from './user/user.component';
10
11 @NgModule({
12   declarations: [
13     AppComponent,
14     ChatroomsComponent,
15     UserComponent
16   ],
17   imports: [
18     BrowserModule,
19     ReactiveFormsModule,
20     HttpClientModule,
21     AppRoutingModule
22   ],
23   providers: [],
24   bootstrap: [AppComponent]
25 })
26 export class AppModule { }