@@ -5,21 +5,22 @@ import { NativeScriptRouterModule } from '@nativescript/angular';
55import { HomeComponent } from './home.component' ;
66
77const routes : Routes = [
8- { path : '' , redirectTo : '/home' , pathMatch : 'full' } ,
9- { path : 'home' , component : HomeComponent } ,
10- { path : 'mlkit-barcode-scanning' , loadChildren : ( ) => import ( './plugin-demos/mlkit-barcode-scanning.module' ) . then ( m => m . MlkitBarcodeScanningModule ) } ,
11- { path : 'mlkit-core' , loadChildren : ( ) => import ( './plugin-demos/mlkit-core.module' ) . then ( m => m . MlkitCoreModule ) } ,
12- { path : 'mlkit-digital-ink-recognition' , loadChildren : ( ) => import ( './plugin-demos/mlkit-digital-ink-recognition.module' ) . then ( m => m . MlkitDigitalInkRecognitionModule ) } ,
13- { path : 'mlkit-face-detection' , loadChildren : ( ) => import ( './plugin-demos/mlkit-face-detection.module' ) . then ( m => m . MlkitFaceDetectionModule ) } ,
14- { path : 'mlkit-image-labeling' , loadChildren : ( ) => import ( './plugin-demos/mlkit-image-labeling.module' ) . then ( m => m . MlkitImageLabelingModule ) } ,
15- { path : 'mlkit-object-detection' , loadChildren : ( ) => import ( './plugin-demos/mlkit-object-detection.module' ) . then ( m => m . MlkitObjectDetectionModule ) } ,
16- { path : 'mlkit-pose-detection' , loadChildren : ( ) => import ( './plugin-demos/mlkit-pose-detection.module' ) . then ( m => m . MlkitPoseDetectionModule ) } ,
17- { path : 'mlkit-selfie-segmentation' , loadChildren : ( ) => import ( './plugin-demos/mlkit-selfie-segmentation.module' ) . then ( m => m . MlkitSelfieSegmentationModule ) } ,
18- { path : 'mlkit-text-recognition' , loadChildren : ( ) => import ( './plugin-demos/mlkit-text-recognition.module' ) . then ( m => m . MlkitTextRecognitionModule ) }
8+ { path : '' , redirectTo : '/home' , pathMatch : 'full' } ,
9+ { path : 'home' , component : HomeComponent } ,
10+ { path : 'mlkit-barcode-scanning' , loadChildren : ( ) => import ( './plugin-demos/mlkit-barcode-scanning.module' ) . then ( ( m ) => m . MlkitBarcodeScanningModule ) } ,
11+ { path : 'mlkit-core' , loadChildren : ( ) => import ( './plugin-demos/mlkit-core.module' ) . then ( ( m ) => m . MlkitCoreModule ) } ,
12+ { path : 'mlkit-custom-object-detection' , loadChildren : ( ) => import ( './plugin-demos/mlkit-custom-object-detection.module' ) . then ( ( m ) => m . MlkitCustomObjectDetectionModule ) } ,
13+ { path : 'mlkit-digital-ink-recognition' , loadChildren : ( ) => import ( './plugin-demos/mlkit-digital-ink-recognition.module' ) . then ( ( m ) => m . MlkitDigitalInkRecognitionModule ) } ,
14+ { path : 'mlkit-face-detection' , loadChildren : ( ) => import ( './plugin-demos/mlkit-face-detection.module' ) . then ( ( m ) => m . MlkitFaceDetectionModule ) } ,
15+ { path : 'mlkit-image-labeling' , loadChildren : ( ) => import ( './plugin-demos/mlkit-image-labeling.module' ) . then ( ( m ) => m . MlkitImageLabelingModule ) } ,
16+ { path : 'mlkit-object-detection' , loadChildren : ( ) => import ( './plugin-demos/mlkit-object-detection.module' ) . then ( ( m ) => m . MlkitObjectDetectionModule ) } ,
17+ { path : 'mlkit-pose-detection' , loadChildren : ( ) => import ( './plugin-demos/mlkit-pose-detection.module' ) . then ( ( m ) => m . MlkitPoseDetectionModule ) } ,
18+ { path : 'mlkit-selfie-segmentation' , loadChildren : ( ) => import ( './plugin-demos/mlkit-selfie-segmentation.module' ) . then ( ( m ) => m . MlkitSelfieSegmentationModule ) } ,
19+ { path : 'mlkit-text-recognition' , loadChildren : ( ) => import ( './plugin-demos/mlkit-text-recognition.module' ) . then ( ( m ) => m . MlkitTextRecognitionModule ) } ,
1920] ;
2021
2122@NgModule ( {
22- imports : [ NativeScriptRouterModule . forRoot ( routes ) ] ,
23- exports : [ NativeScriptRouterModule ] ,
23+ imports : [ NativeScriptRouterModule . forRoot ( routes ) ] ,
24+ exports : [ NativeScriptRouterModule ] ,
2425} )
2526export class AppRoutingModule { }
0 commit comments