diff --git a/packages/template-blank-ng/src/app/app-routing.module.ts b/packages/template-blank-ng/src/app/app-routing.module.ts index 4c8c2d500..9cbe609b4 100644 --- a/packages/template-blank-ng/src/app/app-routing.module.ts +++ b/packages/template-blank-ng/src/app/app-routing.module.ts @@ -4,7 +4,7 @@ import { NativeScriptRouterModule } from "nativescript-angular/router"; const routes: Routes = [ { path: "", redirectTo: "/home", pathMatch: "full" }, - { path: "home", loadChildren: () => import(`~/app/home/home.module`).then((m) => m.HomeModule) } + { path: "home", loadChildren: () => import("~/app/home/home.module").then((m) => m.HomeModule) } ]; @NgModule({ diff --git a/packages/template-drawer-navigation-ng/src/app/app-routing.module.ts b/packages/template-drawer-navigation-ng/src/app/app-routing.module.ts index 3284c8d61..3c95b4185 100644 --- a/packages/template-drawer-navigation-ng/src/app/app-routing.module.ts +++ b/packages/template-drawer-navigation-ng/src/app/app-routing.module.ts @@ -4,11 +4,11 @@ import { NativeScriptRouterModule } from "nativescript-angular/router"; const routes: Routes = [ { path: "", redirectTo: "/home", pathMatch: "full" }, - { path: "home", loadChildren: () => import(`~/app/home/home.module`).then(m => m.HomeModule) }, - { path: "browse", loadChildren: () => import(`~/app/browse/browse.module`).then(m => m.BrowseModule) }, - { path: "search", loadChildren: () => import(`~/app/search/search.module`).then(m => m.SearchModule) }, - { path: "featured", loadChildren: () => import(`~/app/featured/featured.module`).then(m => m.FeaturedModule) }, - { path: "settings", loadChildren: () => import(`~/app/settings/settings.module`).then(m => m.SettingsModule) } + { path: "home", loadChildren: () => import("~/app/home/home.module").then(m => m.HomeModule) }, + { path: "browse", loadChildren: () => import("~/app/browse/browse.module").then(m => m.BrowseModule) }, + { path: "search", loadChildren: () => import("~/app/search/search.module").then(m => m.SearchModule) }, + { path: "featured", loadChildren: () => import("~/app/featured/featured.module").then(m => m.FeaturedModule) }, + { path: "settings", loadChildren: () => import("~/app/settings/settings.module").then(m => m.SettingsModule) } ]; @NgModule({ diff --git a/packages/template-health-survey-ng/src/app/app-routing.module.ts b/packages/template-health-survey-ng/src/app/app-routing.module.ts index 4516a5667..e52297762 100644 --- a/packages/template-health-survey-ng/src/app/app-routing.module.ts +++ b/packages/template-health-survey-ng/src/app/app-routing.module.ts @@ -6,9 +6,9 @@ import { LoggedInLazyLoadGuard } from "./logged-in-lazy-load.guard"; const routes: Routes = [ { path: "", redirectTo: "/consent", pathMatch: "full" }, - { path: "login", loadChildren: () => import(`~/app/login/login.module`).then((m) => m.LoginModule) }, - { path: "consent", loadChildren: () => import(`~/app/consent/consent.module`).then((m) => m.ConsentModule), canLoad: [LoggedInLazyLoadGuard] }, - { path: "survey", loadChildren: () => import(`~/app/survey/survey.module`).then((m) => m.SurveyModule) } + { path: "login", loadChildren: () => import("~/app/login/login.module").then((m) => m.LoginModule) }, + { path: "consent", loadChildren: () => import("~/app/consent/consent.module").then((m) => m.ConsentModule), canLoad: [LoggedInLazyLoadGuard] }, + { path: "survey", loadChildren: () => import("~/app/survey/survey.module").then((m) => m.SurveyModule) } ]; @NgModule({ diff --git a/packages/template-master-detail-kinvey-ng/src/app/app-routing.module.ts b/packages/template-master-detail-kinvey-ng/src/app/app-routing.module.ts index 25b0b3cc0..c5d69bc5a 100644 --- a/packages/template-master-detail-kinvey-ng/src/app/app-routing.module.ts +++ b/packages/template-master-detail-kinvey-ng/src/app/app-routing.module.ts @@ -4,7 +4,7 @@ import { NativeScriptRouterModule } from "nativescript-angular/router"; const routes: Routes = [ { path: "", redirectTo: "/cars", pathMatch: "full" }, - { path: "cars", loadChildren: () => import(`~/app/cars/cars.module`).then((m) => m.CarsModule) } + { path: "cars", loadChildren: () => import("~/app/cars/cars.module").then((m) => m.CarsModule) } ]; @NgModule({ diff --git a/packages/template-master-detail-ng/src/app/app-routing.module.ts b/packages/template-master-detail-ng/src/app/app-routing.module.ts index 25b0b3cc0..c5d69bc5a 100644 --- a/packages/template-master-detail-ng/src/app/app-routing.module.ts +++ b/packages/template-master-detail-ng/src/app/app-routing.module.ts @@ -4,7 +4,7 @@ import { NativeScriptRouterModule } from "nativescript-angular/router"; const routes: Routes = [ { path: "", redirectTo: "/cars", pathMatch: "full" }, - { path: "cars", loadChildren: () => import(`~/app/cars/cars.module`).then((m) => m.CarsModule) } + { path: "cars", loadChildren: () => import("~/app/cars/cars.module").then((m) => m.CarsModule) } ]; @NgModule({ diff --git a/packages/template-patient-care-ng/src/app-routing.module.ts b/packages/template-patient-care-ng/src/app-routing.module.ts index 26ec91917..8248a1b05 100644 --- a/packages/template-patient-care-ng/src/app-routing.module.ts +++ b/packages/template-patient-care-ng/src/app-routing.module.ts @@ -6,8 +6,8 @@ import { LoggedInLazyLoadGuard } from "./logged-in-lazy-load.guard"; const routes: Routes = [ { path: "", redirectTo: "/care", pathMatch: "full" }, - { path: "care", loadChildren: () => import(`./care/care.module`).then((m) => m.CareModule), canLoad: [LoggedInLazyLoadGuard] }, - { path: "login", loadChildren: () => import(`./login/login.module`).then((m) => m.LoginModule) } + { path: "care", loadChildren: () => import("./care/care.module").then((m) => m.CareModule), canLoad: [LoggedInLazyLoadGuard] }, + { path: "login", loadChildren: () => import("./login/login.module").then((m) => m.LoginModule) } ]; @NgModule({ diff --git a/packages/template-tab-navigation-ng/src/app/app-routing.module.ts b/packages/template-tab-navigation-ng/src/app/app-routing.module.ts index 58dda210c..dbc6e5754 100644 --- a/packages/template-tab-navigation-ng/src/app/app-routing.module.ts +++ b/packages/template-tab-navigation-ng/src/app/app-routing.module.ts @@ -13,19 +13,19 @@ const routes: Routes = [ { path: "home", component: NSEmptyOutletComponent, - loadChildren: () => import(`~/app/home/home.module`).then((m) => m.HomeModule), + loadChildren: () => import("~/app/home/home.module").then((m) => m.HomeModule), outlet: "homeTab" }, { path: "browse", component: NSEmptyOutletComponent, - loadChildren: () => import(`~/app/browse/browse.module`).then((m) => m.BrowseModule), + loadChildren: () => import("~/app/browse/browse.module").then((m) => m.BrowseModule), outlet: "browseTab" }, { path: "search", component: NSEmptyOutletComponent, - loadChildren: () => import(`~/app/search/search.module`).then((m) => m.SearchModule), + loadChildren: () => import("~/app/search/search.module").then((m) => m.SearchModule), outlet: "searchTab" } ];