123456789101112131415161718192021222324252627 |
- import { IonicModule } from '@ionic/angular';
- import { NgModule } from '@angular/core';
- import { CommonModule } from '@angular/common';
- import { FormsModule } from '@angular/forms';
- import { Tab2Page } from './tab2.page';
- import { ExploreContainerComponentModule } from '../explore-container/explore-container.module';
- import { Tab2PageRoutingModule } from './tab2-routing.module';
- import { CalendarModule, DateAdapter } from 'angular-calendar';
- import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
- @NgModule({
- imports: [
- IonicModule,
- CommonModule,
- FormsModule,
- ExploreContainerComponentModule,
- Tab2PageRoutingModule,
- CalendarModule.forRoot({
- provide: DateAdapter,
- useFactory: adapterFactory,
- }),
- ],
- declarations: [Tab2Page]
- })
- export class Tab2PageModule {}
|