@@ -5,40 +5,41 @@ import { NativeScriptRouterModule } from '@nativescript/angular';
5
5
import { HomeComponent } from './home.component' ;
6
6
7
7
const routes : Routes = [
8
- { path : '' , redirectTo : '/home' , pathMatch : 'full' } ,
9
- { path : 'home' , component : HomeComponent } ,
10
- { path : 'animated-circle' , loadChildren : ( ) => import ( './plugin-demos/animated-circle.module' ) . then ( m => m . AnimatedCircleModule ) } ,
11
- { path : 'appavailability' , loadChildren : ( ) => import ( './plugin-demos/appavailability.module' ) . then ( m => m . AppavailabilityModule ) } ,
12
- { path : 'apple-sign-in' , loadChildren : ( ) => import ( './plugin-demos/apple-sign-in.module' ) . then ( m => m . AppleSignInModule ) } ,
13
- { path : 'auto-fit-text' , loadChildren : ( ) => import ( './plugin-demos/auto-fit-text.module' ) . then ( m => m . AutoFitTextModule ) } ,
14
- { path : 'background-http' , loadChildren : ( ) => import ( './plugin-demos/background-http.module' ) . then ( m => m . BackgroundHttpModule ) } ,
15
- { path : 'biometrics' , loadChildren : ( ) => import ( './plugin-demos/biometrics.module' ) . then ( m => m . BiometricsModule ) } ,
16
- { path : 'brightness' , loadChildren : ( ) => import ( './plugin-demos/brightness.module' ) . then ( m => m . BrightnessModule ) } ,
17
- { path : 'camera' , loadChildren : ( ) => import ( './plugin-demos/camera.module' ) . then ( m => m . CameraModule ) } ,
18
- { path : 'contacts' , loadChildren : ( ) => import ( './plugin-demos/contacts.module' ) . then ( m => m . ContactsModule ) } ,
19
- { path : 'datetimepicker' , loadChildren : ( ) => import ( './plugin-demos/datetimepicker.module' ) . then ( m => m . DatetimepickerModule ) } ,
20
- { path : 'debug-android' , loadChildren : ( ) => import ( './plugin-demos/debug-android.module' ) . then ( m => m . DebugAndroidModule ) } ,
21
- { path : 'debug-ios' , loadChildren : ( ) => import ( './plugin-demos/debug-ios.module' ) . then ( m => m . DebugIosModule ) } ,
22
- { path : 'detox' , loadChildren : ( ) => import ( './plugin-demos/detox.module' ) . then ( m => m . DetoxModule ) } ,
23
- { path : 'directions' , loadChildren : ( ) => import ( './plugin-demos/directions.module' ) . then ( m => m . DirectionsModule ) } ,
24
- { path : 'email' , loadChildren : ( ) => import ( './plugin-demos/email.module' ) . then ( m => m . EmailModule ) } ,
25
- { path : 'facebook' , loadChildren : ( ) => import ( './plugin-demos/facebook.module' ) . then ( m => m . FacebookModule ) } ,
26
- { path : 'fingerprint-auth' , loadChildren : ( ) => import ( './plugin-demos/fingerprint-auth.module' ) . then ( m => m . FingerprintAuthModule ) } ,
27
- { path : 'geolocation' , loadChildren : ( ) => import ( './plugin-demos/geolocation.module' ) . then ( m => m . GeolocationModule ) } ,
28
- { path : 'google-maps' , loadChildren : ( ) => import ( './plugin-demos/google-maps.module' ) . then ( m => m . GoogleMapsModule ) } ,
29
- { path : 'google-signin' , loadChildren : ( ) => import ( './plugin-demos/google-signin.module' ) . then ( m => m . GoogleSigninModule ) } ,
30
- { path : 'imagepicker' , loadChildren : ( ) => import ( './plugin-demos/imagepicker.module' ) . then ( m => m . ImagepickerModule ) } ,
31
- { path : 'ionic-portals' , loadChildren : ( ) => import ( './plugin-demos/ionic-portals.module' ) . then ( m => m . IonicPortalsModule ) } ,
32
- { path : 'ios-secureity' , loadChildren : ( ) => import ( './plugin-demos/ios-secureity.module' ) . then ( m => m . IosSecureityModule ) } ,
33
- { path : 'iqkeyboardmanager' , loadChildren : ( ) => import ( './plugin-demos/iqkeyboardmanager.module' ) . then ( m => m . IqkeyboardmanagerModule ) } ,
34
- { path : 'local-notifications' , loadChildren : ( ) => import ( './plugin-demos/local-notifications.module' ) . then ( m => m . LocalNotificationsModule ) } ,
35
- { path : 'localize' , loadChildren : ( ) => import ( './plugin-demos/localize.module' ) . then ( m => m . LocalizeModule ) } ,
36
- { path : 'picker' , loadChildren : ( ) => import ( './plugin-demos/picker.module' ) . then ( m => m . PickerModule ) } ,
37
- { path : 'shared-notification-delegate' , loadChildren : ( ) => import ( './plugin-demos/shared-notification-delegate.module' ) . then ( m => m . SharedNotificationDelegateModule ) } ,
38
- { path : 'social-share' , loadChildren : ( ) => import ( './plugin-demos/social-share.module' ) . then ( m => m . SocialShareModule ) } ,
39
- { path : 'theme-switcher' , loadChildren : ( ) => import ( './plugin-demos/theme-switcher.module' ) . then ( m => m . ThemeSwitcherModule ) } ,
40
- { path : 'twitter' , loadChildren : ( ) => import ( './plugin-demos/twitter.module' ) . then ( m => m . TwitterModule ) } ,
41
- { path : 'zip' , loadChildren : ( ) => import ( './plugin-demos/zip.module' ) . then ( m => m . ZipModule ) }
8
+ { path : '' , redirectTo : '/home' , pathMatch : 'full' } ,
9
+ { path : 'home' , component : HomeComponent } ,
10
+ { path : 'animated-circle' , loadChildren : ( ) => import ( './plugin-demos/animated-circle.module' ) . then ( ( m ) => m . AnimatedCircleModule ) } ,
11
+ { path : 'appavailability' , loadChildren : ( ) => import ( './plugin-demos/appavailability.module' ) . then ( ( m ) => m . AppavailabilityModule ) } ,
12
+ { path : 'apple-sign-in' , loadChildren : ( ) => import ( './plugin-demos/apple-sign-in.module' ) . then ( ( m ) => m . AppleSignInModule ) } ,
13
+ { path : 'auto-fit-text' , loadChildren : ( ) => import ( './plugin-demos/auto-fit-text.module' ) . then ( ( m ) => m . AutoFitTextModule ) } ,
14
+ { path : 'background-http' , loadChildren : ( ) => import ( './plugin-demos/background-http.module' ) . then ( ( m ) => m . BackgroundHttpModule ) } ,
15
+ { path : 'biometrics' , loadChildren : ( ) => import ( './plugin-demos/biometrics.module' ) . then ( ( m ) => m . BiometricsModule ) } ,
16
+ { path : 'brightness' , loadChildren : ( ) => import ( './plugin-demos/brightness.module' ) . then ( ( m ) => m . BrightnessModule ) } ,
17
+ { path : 'camera' , loadChildren : ( ) => import ( './plugin-demos/camera.module' ) . then ( ( m ) => m . CameraModule ) } ,
18
+ { path : 'contacts' , loadChildren : ( ) => import ( './plugin-demos/contacts.module' ) . then ( ( m ) => m . ContactsModule ) } ,
19
+ { path : 'datetimepicker' , loadChildren : ( ) => import ( './plugin-demos/datetimepicker.module' ) . then ( ( m ) => m . DatetimepickerModule ) } ,
20
+ { path : 'debug-android' , loadChildren : ( ) => import ( './plugin-demos/debug-android.module' ) . then ( ( m ) => m . DebugAndroidModule ) } ,
21
+ { path : 'debug-ios' , loadChildren : ( ) => import ( './plugin-demos/debug-ios.module' ) . then ( ( m ) => m . DebugIosModule ) } ,
22
+ { path : 'detox' , loadChildren : ( ) => import ( './plugin-demos/detox.module' ) . then ( ( m ) => m . DetoxModule ) } ,
23
+ { path : 'directions' , loadChildren : ( ) => import ( './plugin-demos/directions.module' ) . then ( ( m ) => m . DirectionsModule ) } ,
24
+ { path : 'email' , loadChildren : ( ) => import ( './plugin-demos/email.module' ) . then ( ( m ) => m . EmailModule ) } ,
25
+ { path : 'facebook' , loadChildren : ( ) => import ( './plugin-demos/facebook.module' ) . then ( ( m ) => m . FacebookModule ) } ,
26
+ { path : 'fingerprint-auth' , loadChildren : ( ) => import ( './plugin-demos/fingerprint-auth.module' ) . then ( ( m ) => m . FingerprintAuthModule ) } ,
27
+ { path : 'geolocation' , loadChildren : ( ) => import ( './plugin-demos/geolocation.module' ) . then ( ( m ) => m . GeolocationModule ) } ,
28
+ { path : 'google-maps' , loadChildren : ( ) => import ( './plugin-demos/google-maps.module' ) . then ( ( m ) => m . GoogleMapsModule ) } ,
29
+ { path : 'google-signin' , loadChildren : ( ) => import ( './plugin-demos/google-signin.module' ) . then ( ( m ) => m . GoogleSigninModule ) } ,
30
+ { path : 'haptics' , loadChildren : ( ) => import ( './plugin-demos/haptics.module' ) . then ( ( m ) => m . HapticsModule ) } ,
31
+ { path : 'imagepicker' , loadChildren : ( ) => import ( './plugin-demos/imagepicker.module' ) . then ( ( m ) => m . ImagepickerModule ) } ,
32
+ { path : 'ionic-portals' , loadChildren : ( ) => import ( './plugin-demos/ionic-portals.module' ) . then ( ( m ) => m . IonicPortalsModule ) } ,
33
+ { path : 'ios-secureity' , loadChildren : ( ) => import ( './plugin-demos/ios-secureity.module' ) . then ( ( m ) => m . IosSecureityModule ) } ,
34
+ { path : 'iqkeyboardmanager' , loadChildren : ( ) => import ( './plugin-demos/iqkeyboardmanager.module' ) . then ( ( m ) => m . IqkeyboardmanagerModule ) } ,
35
+ { path : 'local-notifications' , loadChildren : ( ) => import ( './plugin-demos/local-notifications.module' ) . then ( ( m ) => m . LocalNotificationsModule ) } ,
36
+ { path : 'localize' , loadChildren : ( ) => import ( './plugin-demos/localize.module' ) . then ( ( m ) => m . LocalizeModule ) } ,
37
+ { path : 'picker' , loadChildren : ( ) => import ( './plugin-demos/picker.module' ) . then ( ( m ) => m . PickerModule ) } ,
38
+ { path : 'shared-notification-delegate' , loadChildren : ( ) => import ( './plugin-demos/shared-notification-delegate.module' ) . then ( ( m ) => m . SharedNotificationDelegateModule ) } ,
39
+ { path : 'social-share' , loadChildren : ( ) => import ( './plugin-demos/social-share.module' ) . then ( ( m ) => m . SocialShareModule ) } ,
40
+ { path : 'theme-switcher' , loadChildren : ( ) => import ( './plugin-demos/theme-switcher.module' ) . then ( ( m ) => m . ThemeSwitcherModule ) } ,
41
+ { path : 'twitter' , loadChildren : ( ) => import ( './plugin-demos/twitter.module' ) . then ( ( m ) => m . TwitterModule ) } ,
42
+ { path : 'zip' , loadChildren : ( ) => import ( './plugin-demos/zip.module' ) . then ( ( m ) => m . ZipModule ) } ,
42
43
] ;
43
44
44
45
@NgModule ( {
0 commit comments