diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:49:20 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 1942f11d5ee6926ad93dc1b79fae18325ba5de18 (patch) | |
tree | 3f2a3cd9466a56c419d197ac832a3e9cbc86bec4 /client/src/app/+videos/+video-watch/recommendations/recommendations.module.ts | |
parent | 67ed6552b831df66713bac9e672738796128d33f (diff) | |
download | PeerTube-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.ts | 34 |
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 @@ | |||
1 | import { InputSwitchModule } from 'primeng/inputswitch' | ||
2 | import { CommonModule } from '@angular/common' | ||
3 | import { NgModule } from '@angular/core' | ||
4 | import { SharedMainModule } from '@app/shared/shared-main' | ||
5 | import { SharedSearchModule } from '@app/shared/shared-search' | ||
6 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' | ||
7 | import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist' | ||
8 | import { RecentVideosRecommendationService } from './recent-videos-recommendation.service' | ||
9 | import { RecommendedVideosComponent } from './recommended-videos.component' | ||
10 | import { 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 | }) | ||
33 | export class RecommendationsModule { | ||
34 | } | ||