### File

`src/app/layout/index.ts`

### Declarations

- HeaderComponent
- FooterComponent
- ProfileDropdownComponent

### Imports

- SharedModule

### Exports

- HeaderComponent
- FooterComponent

    import { NgModule } from '@angular/core';

    // Components
    import { HeaderComponent } from './header/header.component';
    import { FooterComponent } from './footer/footer.component';
    import { ProfileDropdownComponent } from './header/profile-dropdown/profile-dropdown.component';

    // Modules
    import { SharedModule } from '../shared/index';
    import { RouterModule } from '@angular/router';

    @NgModule({
      declarations: [
        // components
        HeaderComponent,
        FooterComponent,

        // sub components
        ProfileDropdownComponent

        // pipes
      ],
      exports: [
        HeaderComponent,
        FooterComponent,
      ],
      imports: [
        SharedModule,
        RouterModule
      ]
    })
    export class LayoutModule {}

# results matching ""

# No results matching ""