]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/videos.module.ts
Lazy load all routes
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / videos.module.ts
CommitLineData
df98563e 1import { NgModule } from '@angular/core'
67ed6552
C
2import { SharedFormModule } from '@app/shared/shared-forms'
3import { SharedGlobalIconModule } from '@app/shared/shared-icons'
4import { SharedMainModule } from '@app/shared/shared-main'
5import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
6import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
1942f11d 7import { OverviewService } from './video-list'
67ed6552
C
8import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
9import { VideoLocalComponent } from './video-list/video-local.component'
10import { VideoMostLikedComponent } from './video-list/video-most-liked.component'
9bf9d2a5
C
11import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component'
12import { VideoTrendingComponent } from './video-list/video-trending.component'
67ed6552 13import { VideoUserSubscriptionsComponent } from './video-list/video-user-subscriptions.component'
df98563e
C
14import { VideosRoutingModule } from './videos-routing.module'
15import { VideosComponent } from './videos.component'
693b1aba
C
16
17@NgModule({
18 imports: [
19 VideosRoutingModule,
67ed6552
C
20
21 SharedMainModule,
22 SharedFormModule,
23 SharedVideoMiniatureModule,
24 SharedUserSubscriptionModule,
25 SharedGlobalIconModule
693b1aba
C
26 ],
27
28 declarations: [
29 VideosComponent,
30
9bf9d2a5 31 VideoTrendingComponent,
c07eb946 32 VideoMostLikedComponent,
9bf9d2a5 33 VideoRecentlyAddedComponent,
22a16e36 34 VideoLocalComponent,
2d3741d6
C
35 VideoUserSubscriptionsComponent,
36 VideoOverviewComponent
693b1aba
C
37 ],
38
39 exports: [
40 VideosComponent
41 ],
42
1942f11d
C
43 providers: [
44 OverviewService
45 ]
693b1aba
C
46})
47export class VideosModule { }