Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / src / app / app-routing.module.ts @ 2c8d373c

Historique | Voir | Annoter | Télécharger (1,14 ko)

1 f3d5fa3b Eric Seigne
import { NgModule } from "@angular/core";
2
import { Routes } from "@angular/router";
3
import { NativeScriptRouterModule } from "nativescript-angular/router";
4
5
const routes: Routes = [
6
    { path: "", redirectTo: "/home", pathMatch: "full" },
7
    { path: "home", loadChildren: () => import("~/app/home/home.module").then((m) => m.HomeModule) },
8
    { path: "about", loadChildren: () => import("~/app/about/about.module").then((m) => m.AboutModule) },
9
    { path: "browse", loadChildren: () => import("~/app/browse/browse.module").then((m) => m.BrowseModule) },
10
    { path: "search", loadChildren: () => import("~/app/search/search.module").then((m) => m.SearchModule) },
11
    { path: "upgrade", loadChildren: () => import("~/app/upgrade/upgrade.module").then((m) => m.UpgradeModule) },
12
    { path: "settings", loadChildren: () => import("~/app/settings/settings.module").then((m) => m.SettingsModule) },
13
    { path: "teachers", loadChildren: () => import("~/app/teachers/teachers.module").then((m) => m.TeachersModule) },
14
];
15
16
@NgModule({
17
    imports: [NativeScriptRouterModule.forRoot(routes)],
18
    exports: [NativeScriptRouterModule]
19
})
20
export class AppRoutingModule { }
Redmine Appliance - Powered by TurnKey Linux