projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: Added a chatroom component, that is navigatable by the chatroom's ID
[demos/kafka/chat]
/
src
/
app
/
app.module.ts
diff --git
a/src/app/app.module.ts
b/src/app/app.module.ts
index
b1c6c96
..
b2b66d6
100644
(file)
--- a/
src/app/app.module.ts
+++ b/
src/app/app.module.ts
@@
-1,15
+1,25
@@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
+import { ReactiveFormsModule } from "@angular/forms";
+import { HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
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: [
@NgModule({
declarations: [
- AppComponent
+ AppComponent,
+ ChatroomsComponent,
+ UserComponent,
+ ChatroomComponent
],
imports: [
BrowserModule,
],
imports: [
BrowserModule,
+ ReactiveFormsModule,
+ HttpClientModule,
AppRoutingModule
],
providers: [],
AppRoutingModule
],
providers: [],