chanliang.module.ts 634 B

12345678910111213141516171819202122232425262728
  1. import { NgModule } from '@angular/core';
  2. import { CommonModule } from '@angular/common';
  3. import { FormsModule } from '@angular/forms';
  4. import { Routes, RouterModule } from '@angular/router';
  5. import { IonicModule } from '@ionic/angular';
  6. import { TranslateModule } from '@ngx-translate/core';
  7. import { ChanliangPage } from './chanliang.page';
  8. const routes: Routes = [
  9. {
  10. path: '',
  11. component: ChanliangPage
  12. }
  13. ];
  14. @NgModule({
  15. imports: [
  16. CommonModule,
  17. FormsModule,
  18. IonicModule,
  19. RouterModule.forChild(routes),
  20. TranslateModule
  21. ],
  22. declarations: [ChanliangPage]
  23. })
  24. export class ChanliangPageModule {}