mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-25 01:25:37 -05:00
Start to reorganize
This commit is contained in:
@@ -2,25 +2,29 @@ import { BrowserModule } from '@angular/platform-browser';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { ChartModule } from 'angular-highcharts';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { ClarityModule } from '@clr/angular';
|
||||
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
import { AppComponent } from './app.component';
|
||||
import { AppComponent } from './components/app/app.component';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
import { MatToolbarModule, MatIconModule, MatMenuModule, MatButtonModule, MatExpansionModule } from '@angular/material';
|
||||
import { NavComponent } from './components/nav/nav.component';
|
||||
import { LayoutModule } from '@angular/cdk/layout';
|
||||
import { MatSidenavModule } from '@angular/material/sidenav';
|
||||
import { MatListModule } from '@angular/material/list';
|
||||
|
||||
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';
|
||||
import { WeatherCurrentComponent } from './weather/current/weather-current.component';
|
||||
import { LaundryComponent } from './components/laundry/laundry.component';
|
||||
import { DashboardComponent } from './components/dashboard/dashboard.component';
|
||||
import { WeatherChartsComponent } from './components/weather/charts/weather-charts.component';
|
||||
import { WeatherCurrentComponent } from './components/weather/current/weather-current.component';
|
||||
|
||||
const config: SocketIoConfig = { url: 'http://home.kaczorzoo.net:9091', options: {} };
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
WeatherComponent,
|
||||
NavComponent,
|
||||
LaundryComponent,
|
||||
DashboardComponent,
|
||||
WeatherChartsComponent,
|
||||
@@ -32,8 +36,15 @@ const config: SocketIoConfig = { url: 'http://home.kaczorzoo.net:9091', options:
|
||||
BrowserAnimationsModule,
|
||||
SocketIoModule.forRoot(config),
|
||||
ChartModule,
|
||||
HttpClientModule,
|
||||
ClarityModule
|
||||
HttpClientModule,
|
||||
MatIconModule,
|
||||
MatButtonModule,
|
||||
MatToolbarModule,
|
||||
MatMenuModule,
|
||||
LayoutModule,
|
||||
MatSidenavModule,
|
||||
MatListModule,
|
||||
MatExpansionModule
|
||||
],
|
||||
providers: [],
|
||||
bootstrap: [AppComponent]
|
||||
|
||||
Reference in New Issue
Block a user