dependencies dependencies cluster_CmsParagraphModule cluster_CmsParagraphModule_declarations cluster_CmsParagraphModule_exports cluster_CmsParagraphModule_imports ParagraphComponent ParagraphComponent CmsParagraphModule CmsParagraphModule ParagraphComponent->CmsParagraphModule ParagraphComponent ParagraphComponent CmsParagraphModule->ParagraphComponent SupplementHashAnchorsModule SupplementHashAnchorsModule SupplementHashAnchorsModule->CmsParagraphModule

File

projects/storefrontlib/cms-components/content/paragraph/paragraph.module.ts

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CmsConfig, provideDefaultConfig } from '@spartacus/core';
import { SupplementHashAnchorsModule } from '../../../shared/pipes/suplement-hash-anchors/supplement-hash-anchors.module';
import { ParagraphComponent } from './paragraph.component';
import { RouterModule } from '@angular/router';

@NgModule({
  imports: [CommonModule, RouterModule, SupplementHashAnchorsModule],
  providers: [
    provideDefaultConfig(<CmsConfig>{
      cmsComponents: {
        CMSParagraphComponent: {
          component: ParagraphComponent,
        },
        CMSTabParagraphComponent: {
          component: ParagraphComponent,
        },
      },
    }),
  ],
  declarations: [ParagraphComponent],
  exports: [ParagraphComponent],
})
export class CmsParagraphModule {}

result-matching ""

    No results matching ""