feat: add app shell (angular-material)

Add app shell built using angular-material and flex-layout. Refractor
code due to configuration changes.

Fixes #52
This commit is contained in:
abhay_1806
2018-06-23 20:06:32 +05:30
committed by Abhay Chawla
parent b1c2d6d98e
commit fc7ae1d0ba
98 changed files with 1098 additions and 532 deletions
+17 -11
View File
@@ -1,46 +1,52 @@
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { ServiceWorkerModule } from '@angular/service-worker';
import { TranslateModule } from '@ngx-translate/core';
import { NgxChartsModule } from '@swimlane/ngx-charts';
import { environment } from '../environments/environment';
import { CoreModule } from '../app/core';
import { SharedModule } from '../app/shared';
import { WebAppComponent } from './web-app.component';
import { CoreModule } from './core/core.module';
import { SharedModule } from './shared/shared.module';
import { NavigationModule } from './navigation/navigation.module';
import { HomeModule } from './home/home.module';
import { AboutModule } from './about/about.module';
import { LoginModule } from './login/login.module';
import { ClientsModule} from './clients/clients.module';
import { AccountingModule } from './accounting/accounting.module';
import { LoginModule } from './login/login.module';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { NavigationModule } from './navigation/navigation.module';
import { SelfServiceModule } from './self-service/self-service.module';
import { AppRoutingModule } from './app-routing.module';
@NgModule({
imports: [
BrowserModule,
ServiceWorkerModule.register('./ngsw-worker.js', { enabled: environment.production }),
BrowserAnimationsModule,
FormsModule,
HttpClientModule,
ServiceWorkerModule.register('./ngsw-worker.js', { enabled: environment.production }),
TranslateModule.forRoot(),
NgxChartsModule,
CoreModule,
SharedModule,
NavigationModule,
HomeModule,
AboutModule,
LoginModule,
ClientsModule,
AccountingModule,
LoginModule,
NavigationModule,
SelfServiceModule,
AppRoutingModule
],
declarations: [AppComponent],
declarations: [WebAppComponent],
providers: [
],
bootstrap: [AppComponent]
bootstrap: [WebAppComponent]
})
export class AppModule { }