dependencies dependencies cluster_MyInterestsModule cluster_MyInterestsModule_declarations cluster_MyInterestsModule_exports cluster_MyInterestsModule_imports MyInterestsComponent MyInterestsComponent MyInterestsModule MyInterestsModule MyInterestsComponent->MyInterestsModule MyInterestsComponent MyInterestsComponent MyInterestsModule->MyInterestsComponent I18nModule I18nModule I18nModule->MyInterestsModule I18nModule->MyInterestsModule ListNavigationModule ListNavigationModule ListNavigationModule->MyInterestsModule MediaModule MediaModule MediaModule->MyInterestsModule SpinnerModule SpinnerModule SpinnerModule->MyInterestsModule UrlModule UrlModule UrlModule->MyInterestsModule

File

projects/storefrontlib/cms-components/myaccount/my-interests/my-interests.module.ts

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { ListNavigationModule } from '../../../shared/components/list-navigation/list-navigation.module';
import { MyInterestsComponent } from './my-interests.component';
import { MediaModule } from '../../../shared/components/media/media.module';
import { SpinnerModule } from '../../../shared/components/spinner/spinner.module';
import {
  AuthGuard,
  CmsConfig,
  I18nModule,
  provideDefaultConfig,
  UrlModule,
} from '@spartacus/core';

@NgModule({
  declarations: [MyInterestsComponent],
  imports: [
    CommonModule,
    I18nModule,
    RouterModule,
    ListNavigationModule,
    I18nModule,
    UrlModule,
    MediaModule,
    SpinnerModule,
  ],
  providers: [
    provideDefaultConfig(<CmsConfig>{
      cmsComponents: {
        MyInterestsComponent: {
          component: MyInterestsComponent,
          guards: [AuthGuard],
        },
      },
    }),
  ],
  exports: [MyInterestsComponent],
})
export class MyInterestsModule {}

result-matching ""

    No results matching ""