aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-23 14:49:20 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-06-23 16:00:49 +0200
commit1942f11d5ee6926ad93dc1b79fae18325ba5de18 (patch)
tree3f2a3cd9466a56c419d197ac832a3e9cbc86bec4 /client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts
parent67ed6552b831df66713bac9e672738796128d33f (diff)
downloadPeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.tar.gz
PeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.tar.zst
PeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.zip
Lazy load all routes
Diffstat (limited to 'client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts')
-rw-r--r--client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts34
1 files changed, 34 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts b/client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts
new file mode 100644
index 000000000..259afb196
--- /dev/null
+++ b/client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts
@@ -0,0 +1,34 @@
1import { InputSwitchModule } from 'primeng/inputswitch'
2import { CommonModule } from '@angular/common'
3import { NgModule } from '@angular/core'
4import { SharedMainModule } from '@app/shared/shared-main'
5import { SharedSearchModule } from '@app/shared/shared-search'
6import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
7import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist'
8import { RecentVideosRecommendationService } from './recent-videos-recommendation.service'
9import { RecommendedVideosComponent } from './recommended-videos.component'
10import { RecommendedVideosStore } from './recommended-videos.store'
11
12@NgModule({
13 imports: [
14 CommonModule,
15 InputSwitchModule,
16
17 SharedMainModule,
18 SharedSearchModule,
19 SharedVideoPlaylistModule,
20 SharedVideoMiniatureModule
21 ],
22 declarations: [
23 RecommendedVideosComponent
24 ],
25 exports: [
26 RecommendedVideosComponent
27 ],
28 providers: [
29 RecommendedVideosStore,
30 RecentVideosRecommendationService
31 ]
32})
33export class RecommendationsModule {
34}