From 1942f11d5ee6926ad93dc1b79fae18325ba5de18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 23 Jun 2020 14:49:20 +0200 Subject: Lazy load all routes --- .../app/+videos/+video-edit/video-add.module.ts | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 client/src/app/+videos/+video-edit/video-add.module.ts (limited to 'client/src/app/+videos/+video-edit/video-add.module.ts') diff --git a/client/src/app/+videos/+video-edit/video-add.module.ts b/client/src/app/+videos/+video-edit/video-add.module.ts new file mode 100644 index 000000000..477c1cf5e --- /dev/null +++ b/client/src/app/+videos/+video-edit/video-add.module.ts @@ -0,0 +1,32 @@ +import { NgModule } from '@angular/core' +import { CanDeactivateGuard } from '@app/core' +import { VideoEditModule } from './shared/video-edit.module' +import { DragDropDirective } from './video-add-components/drag-drop.directive' +import { VideoImportTorrentComponent } from './video-add-components/video-import-torrent.component' +import { VideoImportUrlComponent } from './video-add-components/video-import-url.component' +import { VideoUploadComponent } from './video-add-components/video-upload.component' +import { VideoAddRoutingModule } from './video-add-routing.module' +import { VideoAddComponent } from './video-add.component' + +@NgModule({ + imports: [ + VideoAddRoutingModule, + + VideoEditModule + ], + + declarations: [ + VideoAddComponent, + VideoUploadComponent, + VideoImportUrlComponent, + VideoImportTorrentComponent, + DragDropDirective + ], + + exports: [ ], + + providers: [ + CanDeactivateGuard + ] +}) +export class VideoAddModule { } -- cgit v1.2.3