tab2.module.ts 829 B

123456789101112131415161718192021222324252627
  1. import { IonicModule } from '@ionic/angular';
  2. import { NgModule } from '@angular/core';
  3. import { CommonModule } from '@angular/common';
  4. import { FormsModule } from '@angular/forms';
  5. import { Tab2Page } from './tab2.page';
  6. import { ExploreContainerComponentModule } from '../explore-container/explore-container.module';
  7. import { Tab2PageRoutingModule } from './tab2-routing.module';
  8. import { CalendarModule, DateAdapter } from 'angular-calendar';
  9. import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
  10. @NgModule({
  11. imports: [
  12. IonicModule,
  13. CommonModule,
  14. FormsModule,
  15. ExploreContainerComponentModule,
  16. Tab2PageRoutingModule,
  17. CalendarModule.forRoot({
  18. provide: DateAdapter,
  19. useFactory: adapterFactory,
  20. }),
  21. ],
  22. declarations: [Tab2Page]
  23. })
  24. export class Tab2PageModule {}