-
-
Notifications
You must be signed in to change notification settings - Fork 295
/
Copy pathextended-dataentry-examples.module.ts
50 lines (47 loc) · 1.72 KB
/
extended-dataentry-examples.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
import { NativeScriptRouterModule } from "nativescript-angular/router";
import { NativeScriptCommonModule } from "nativescript-angular/common";
import { ExtendedDataEntryExamplesComponent } from "./extended-dataentry-examples.component";
import { SignupDataEntryExampleComponent } from "./dataentry-signup/dataentry-signup.component";
import { SocialLoginDataEntryExampleComponent } from "./dataentry-sociallogin/dataentry-sociallogin.component";
import { WelcomeDataEntryExampleComponent } from "./dataentry-welcome/dataentry-welcome.component";
import { TitleAndNavButtonModule } from "../../directives/title-and-nav-button.module";
export const routerConfig = [
{
path: "",
component: ExtendedDataEntryExamplesComponent
},
{
path: "dataentry-signup",
component: SignupDataEntryExampleComponent,
data: { title: "Dataentry signup" }
},
{
path: "dataentry-social-login",
component: SocialLoginDataEntryExampleComponent,
data: { title: "Dataentry social login" }
},
{
path: "dataentry-welcome",
component: WelcomeDataEntryExampleComponent,
data: { title: "Dataentry welcome" }
}
];
@NgModule({
schemas: [NO_ERRORS_SCHEMA],
imports: [
TitleAndNavButtonModule,
NativeScriptCommonModule,
NativeScriptRouterModule,
NativeScriptRouterModule.forChild(routerConfig)
],
declarations: [
ExtendedDataEntryExamplesComponent,
SignupDataEntryExampleComponent,
SocialLoginDataEntryExampleComponent,
WelcomeDataEntryExampleComponent
]
})
export class ExtendedDataentryExamplesModule {
constructor() { }
}