projects/storefrontlib/cms-components/product/carousel/product-carousel/product-carousel.module.ts
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CmsConfig, provideDefaultConfig, UrlModule } from '@spartacus/core';
import {
CarouselModule,
MediaModule,
} from '../../../../shared/components/index';
import { ProductCarouselComponent } from './product-carousel.component';
@NgModule({
imports: [CommonModule, CarouselModule, MediaModule, RouterModule, UrlModule],
providers: [
provideDefaultConfig(<CmsConfig>{
cmsComponents: {
ProductCarouselComponent: {
component: ProductCarouselComponent,
},
},
}),
],
declarations: [ProductCarouselComponent],
exports: [ProductCarouselComponent],
})
export class ProductCarouselModule {}