app.module.ts 668 B

123456789101112131415161718192021222324
  1. import { BrowserModule } from '@angular/platform-browser';
  2. import { NgModule } from '@angular/core';
  3. import { AppComponent } from './app.component';
  4. import { HeaderComponent } from './layout/header/header.component';
  5. import { SideBarComponent } from './layout/side-bar/side-bar.component';
  6. import { MainComponent } from './layout/main/main.component';
  7. import { FooterComponent } from './layout/footer/footer.component';
  8. @NgModule({
  9. declarations: [
  10. AppComponent,
  11. HeaderComponent,
  12. SideBarComponent,
  13. MainComponent,
  14. FooterComponent
  15. ],
  16. imports: [
  17. BrowserModule
  18. ],
  19. providers: [],
  20. bootstrap: [AppComponent]
  21. })
  22. export class AppModule { }