Skip to content
Snippets Groups Projects
app.module.ts 1.03 KiB
Newer Older
  • Learn to ignore specific revisions
  • Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    import { LOCALE_ID, NgModule } from '@angular/core';
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    
    import { AppRoutingModule } from './app-routing.module';
    
    import { BrowserModule } from '@angular/platform-browser';
    import { FlexLayoutModule } from '@angular/flex-layout';
    
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    import { AppComponent } from './app.component';
    
    import { HomeComponent } from './home/home.component';
    import { CustomBreakPointsProvider } from './config/custom-breakpoint';
    import { StructureListComponent } from './structure-list/structure-list.component';
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    import { FooterComponent } from './footer/footer.component';
    import { HeaderComponent } from './header/header.component';
    
    import { SharedModule } from './shared/shared.module';
    
    import { MapModule } from './map/map.module';
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    
    @NgModule({
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
      declarations: [AppComponent, HeaderComponent, FooterComponent, HomeComponent, StructureListComponent],
    
      imports: [BrowserModule, AppRoutingModule, FlexLayoutModule, SharedModule, MapModule],
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
      providers: [{ provide: LOCALE_ID, useValue: 'fr' }, CustomBreakPointsProvider],
    
      bootstrap: [AppComponent],
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    })
    
    export class AppModule {}