-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.routes.ts
42 lines (37 loc) · 1019 Bytes
/
app.routes.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
import { Routes } from '@angular/router';
export const routes: Routes = [
{
path: '',
redirectTo: 'folder/inbox',
pathMatch: 'full',
},
{
path: 'folder/:id',
loadComponent: () =>
import('./folder/folder.page').then((m) => m.FolderPage),
},
{
path: 'avatar-settings',
loadComponent: () => import('./pages/avatar-settings/avatar-settings.page').then(m => m.AvatarSettingsPage)
},
{
path: 'login-screen',
loadComponent: () => import('./pages/login-screen/login-screen.page').then(m => m.LoginScreenPage)
},
{
path: 'home',
loadComponent: () => import('./pages/home/home.page').then(m => m.HomePage)
},
{
path: 'game',
loadComponent: () => import('./pages/game/game.page').then(m => m.GamePage)
},
{
path: 'podium',
loadComponent: () => import('./pages/podium/podium.page').then(m => m.PodiumPage)
},
{
path: 'answers',
loadComponent: () => import('./pages/answers/answers.page').then( m => m.AnswersPage)
},
];