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 {}