lesson.module.ts 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import { NgModule } from '@angular/core';
  2. import { CommonModule } from '@angular/common';
  3. import { FormsModule } from '@angular/forms';
  4. import { IonicModule } from '@ionic/angular';
  5. import { LessonRoutingModule } from './lesson-routing.module';
  6. import { MeComponent } from './me/me.component';
  7. import { CommunityComponent } from './community/community.component';
  8. import { ScienceDetailComponent } from './science-detail/science-detail.component';
  9. import { ShareComponent } from './share/share.component';
  10. import { RecommendDetailComponent } from './recommend-detail/recommend-detail.component';
  11. import { AttentionDetailComponent } from './attention-detail/attention-detail.component';
  12. import { UserFollowComponent } from './user-follow/user-follow.component';
  13. import { UserTagComponent } from './user-tag/user-tag.component';
  14. import { UserCollectionComponent } from './user-collection/user-collection.component';
  15. import { PageChatComponent } from './page-chat/page-chat.component';
  16. import { PageLessonDetailComponent } from './page-lesson-detail/page-lesson-detail.component';
  17. import { PageLessonComponent } from './page-lesson/page-lesson.component';
  18. import { PageTestComponent } from './page-test/page-test.component';
  19. import { ContactListPage } from './contact-list/contact-list.component';
  20. import { ContactDetailPage } from './contact-detail/contact-detail.component';
  21. // import { ExploreContainerComponent } from './explore-container/explore-container.component';
  22. @NgModule({
  23. declarations: [
  24. MeComponent,
  25. CommunityComponent,
  26. ScienceDetailComponent,
  27. ShareComponent,
  28. RecommendDetailComponent,
  29. AttentionDetailComponent,
  30. UserFollowComponent,
  31. UserTagComponent,
  32. UserCollectionComponent,
  33. PageChatComponent,
  34. PageLessonDetailComponent,
  35. PageLessonComponent,
  36. PageTestComponent,
  37. ContactListPage,
  38. ContactDetailPage,
  39. // ExploreContainerComponent,
  40. ],
  41. imports: [
  42. CommonModule,
  43. LessonRoutingModule,
  44. FormsModule,
  45. IonicModule,
  46. IonicModule.forRoot() // 导入 IonicModule.forRoot()
  47. ]
  48. })
  49. export class LessonModule { }