@@ -5,25 +5,26 @@ 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 : 'firebase-admob' , loadChildren : ( ) => import ( './plugin-demos/firebase-admob.module' ) . then ( m => m . FirebaseAdmobModule ) } ,
11
- { path : 'firebase-analytics' , loadChildren : ( ) => import ( './plugin-demos/firebase-analytics.module' ) . then ( m => m . FirebaseAnalyticsModule ) } ,
12
- { path : 'firebase-app-check' , loadChildren : ( ) => import ( './plugin-demos/firebase-app-check.module' ) . then ( m => m . FirebaseAppCheckModule ) } ,
13
- { path : 'firebase-app-check-debug' , loadChildren : ( ) => import ( './plugin-demos/firebase-app-check-debug.module' ) . then ( m => m . FirebaseAppCheckDebugModule ) } ,
14
- { path : 'firebase-auth' , loadChildren : ( ) => import ( './plugin-demos/firebase-auth.module' ) . then ( m => m . FirebaseAuthModule ) } ,
15
- { path : 'firebase-core' , loadChildren : ( ) => import ( './plugin-demos/firebase-core.module' ) . then ( m => m . FirebaseCoreModule ) } ,
16
- { path : 'firebase-crashlytics' , loadChildren : ( ) => import ( './plugin-demos/firebase-crashlytics.module' ) . then ( m => m . FirebaseCrashlyticsModule ) } ,
17
- { path : 'firebase-database' , loadChildren : ( ) => import ( './plugin-demos/firebase-database.module' ) . then ( m => m . FirebaseDatabaseModule ) } ,
18
- { path : 'firebase-dynamic-links' , loadChildren : ( ) => import ( './plugin-demos/firebase-dynamic-links.module' ) . then ( m => m . FirebaseDynamicLinksModule ) } ,
19
- { path : 'firebase-firestore' , loadChildren : ( ) => import ( './plugin-demos/firebase-firestore.module' ) . then ( m => m . FirebaseFirestoreModule ) } ,
20
- { path : 'firebase-functions' , loadChildren : ( ) => import ( './plugin-demos/firebase-functions.module' ) . then ( m => m . FirebaseFunctionsModule ) } ,
21
- { path : 'firebase-in-app-messaging' , loadChildren : ( ) => import ( './plugin-demos/firebase-in-app-messaging.module' ) . then ( m => m . FirebaseInAppMessagingModule ) } ,
22
- { path : 'firebase-installations' , loadChildren : ( ) => import ( './plugin-demos/firebase-installations.module' ) . then ( m => m . FirebaseInstallationsModule ) } ,
23
- { path : 'firebase-messaging' , loadChildren : ( ) => import ( './plugin-demos/firebase-messaging.module' ) . then ( m => m . FirebaseMessagingModule ) } ,
24
- { path : 'firebase-performance' , loadChildren : ( ) => import ( './plugin-demos/firebase-performance.module' ) . then ( m => m . FirebasePerformanceModule ) } ,
25
- { path : 'firebase-remote-config' , loadChildren : ( ) => import ( './plugin-demos/firebase-remote-config.module' ) . then ( m => m . FirebaseRemoteConfigModule ) } ,
26
- { path : 'firebase-storage' , loadChildren : ( ) => import ( './plugin-demos/firebase-storage.module' ) . then ( m => m . FirebaseStorageModule ) }
8
+ { path : '' , redirectTo : '/home' , pathMatch : 'full' } ,
9
+ { path : 'home' , component : HomeComponent } ,
10
+ { path : 'firebase-admob' , loadChildren : ( ) => import ( './plugin-demos/firebase-admob.module' ) . then ( ( m ) => m . FirebaseAdmobModule ) } ,
11
+ { path : 'firebase-analytics' , loadChildren : ( ) => import ( './plugin-demos/firebase-analytics.module' ) . then ( ( m ) => m . FirebaseAnalyticsModule ) } ,
12
+ { path : 'firebase-app-check' , loadChildren : ( ) => import ( './plugin-demos/firebase-app-check.module' ) . then ( ( m ) => m . FirebaseAppCheckModule ) } ,
13
+ { path : 'firebase-app-check-debug' , loadChildren : ( ) => import ( './plugin-demos/firebase-app-check-debug.module' ) . then ( ( m ) => m . FirebaseAppCheckDebugModule ) } ,
14
+ { path : 'firebase-auth' , loadChildren : ( ) => import ( './plugin-demos/firebase-auth.module' ) . then ( ( m ) => m . FirebaseAuthModule ) } ,
15
+ { path : 'firebase-core' , loadChildren : ( ) => import ( './plugin-demos/firebase-core.module' ) . then ( ( m ) => m . FirebaseCoreModule ) } ,
16
+ { path : 'firebase-crashlytics' , loadChildren : ( ) => import ( './plugin-demos/firebase-crashlytics.module' ) . then ( ( m ) => m . FirebaseCrashlyticsModule ) } ,
17
+ { path : 'firebase-database' , loadChildren : ( ) => import ( './plugin-demos/firebase-database.module' ) . then ( ( m ) => m . FirebaseDatabaseModule ) } ,
18
+ { path : 'firebase-dynamic-links' , loadChildren : ( ) => import ( './plugin-demos/firebase-dynamic-links.module' ) . then ( ( m ) => m . FirebaseDynamicLinksModule ) } ,
19
+ { path : 'firebase-firestore' , loadChildren : ( ) => import ( './plugin-demos/firebase-firestore.module' ) . then ( ( m ) => m . FirebaseFirestoreModule ) } ,
20
+ { path : 'firebase-functions' , loadChildren : ( ) => import ( './plugin-demos/firebase-functions.module' ) . then ( ( m ) => m . FirebaseFunctionsModule ) } ,
21
+ { path : 'firebase-in-app-messaging' , loadChildren : ( ) => import ( './plugin-demos/firebase-in-app-messaging.module' ) . then ( ( m ) => m . FirebaseInAppMessagingModule ) } ,
22
+ { path : 'firebase-installations' , loadChildren : ( ) => import ( './plugin-demos/firebase-installations.module' ) . then ( ( m ) => m . FirebaseInstallationsModule ) } ,
23
+ { path : 'firebase-messaging' , loadChildren : ( ) => import ( './plugin-demos/firebase-messaging.module' ) . then ( ( m ) => m . FirebaseMessagingModule ) } ,
24
+ { path : 'firebase-messaging-core' , loadChildren : ( ) => import ( './plugin-demos/firebase-messaging-core.module' ) . then ( ( m ) => m . FirebaseMessagingCoreModule ) } ,
25
+ { path : 'firebase-performance' , loadChildren : ( ) => import ( './plugin-demos/firebase-performance.module' ) . then ( ( m ) => m . FirebasePerformanceModule ) } ,
26
+ { path : 'firebase-remote-config' , loadChildren : ( ) => import ( './plugin-demos/firebase-remote-config.module' ) . then ( ( m ) => m . FirebaseRemoteConfigModule ) } ,
27
+ { path : 'firebase-storage' , loadChildren : ( ) => import ( './plugin-demos/firebase-storage.module' ) . then ( ( m ) => m . FirebaseStorageModule ) } ,
27
28
] ;
28
29
29
30
@NgModule ( {
0 commit comments