import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';

import { IonicModule } from '@ionic/angular';

import { ProfilePage } from './profile.page';

import { OrdersComponent } from '../orders/orders.component';
import { NotificationsComponent } from '../notifications/notifications.component';
import { ReferComponent } from '../refer/refer.component';

const routes: Routes = [
  {
    path: '',
    component: ProfilePage
  }
];

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    RouterModule.forChild(routes)
  ],
  declarations: [ProfilePage, OrdersComponent, NotificationsComponent, ReferComponent]
})
export class ProfilePageModule {}
