import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { CarouselModule } from 'ngx-owl-carousel-o'; import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to'; import { ServicesComponent } from './services/services.component'; import { FeaturesComponent } from './features/features.component'; import { ClientComponent } from './client/client.component'; import { TeamComponent } from './team/team.component'; import { FaqComponent } from './faq/faq.component'; import { PricingComponent } from './pricing/pricing.component'; import { ContactComponent } from './contact/contact.component'; import { FooterComponent } from './footer/footer.component'; import { SwitcherComponent } from './switcher/switcher.component'; import { ScrollspyDirective } from './scrollspy.directive'; import { BrowserModule } from '@angular/platform-browser'; @NgModule({ declarations: [ServicesComponent, FeaturesComponent, ClientComponent, TeamComponent, FaqComponent, PricingComponent, ContactComponent, FooterComponent, SwitcherComponent, ScrollspyDirective], imports: [ // BrowserModule, CommonModule, CarouselModule, ScrollToModule.forRoot() ], exports: [ServicesComponent, FeaturesComponent, ClientComponent, TeamComponent, FaqComponent, PricingComponent, ContactComponent, FooterComponent, SwitcherComponent, ScrollspyDirective] }) export class SharedModule { }