Add laundry display

This commit is contained in:
2019-09-10 20:34:31 -04:00
parent a32e65de1c
commit 38c32b4c3b
12 changed files with 302 additions and 60 deletions

View File

@@ -5,11 +5,15 @@ import { MatToolbarModule, MatIconModule, MatSidenavModule, MatListModule, MatBu
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { SocketIoModule, SocketIoConfig } from 'ngx-socket-io';
import { WeatherComponent } from './weather/weather.component';
import { LaundryComponent } from './laundry/laundry.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { WeatherChartsComponent } from './weather-charts/weather-charts.component';
const config: SocketIoConfig = { url: 'http://home.kaczorzoo.net:9091', options: {} };
@NgModule({
declarations: [
AppComponent,
@@ -26,7 +30,8 @@ import { WeatherChartsComponent } from './weather-charts/weather-charts.componen
MatSidenavModule,
MatListModule,
MatButtonModule,
MatIconModule
MatIconModule,
SocketIoModule.forRoot(config)
],
providers: [],
bootstrap: [AppComponent]