Skip to content
This repository was archived by the owner on Oct 22, 2018. It is now read-only.

Commit b9d2285

Browse files
committed
Updating the routes
1 parent cf96525 commit b9d2285

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

nativescript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"nativescript": {
66
"id": "com.domain.project",
77
"tns-ios": {
8-
"version": "3.2.0"
8+
"version": "3.3.0"
99
},
1010
"tns-android": {
11-
"version": "3.2.0"
11+
"version": "3.3.0"
1212
}
1313
},
1414
"dependencies": {

src/app/app.component.tns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
<StackLayout class="container" row="1">
55
<page-router-outlet></page-router-outlet>
66
</StackLayout>
7-
</GridLayout>
7+
</GridLayout>

src/app/app.routes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Routes } from '@angular/router';
44
* (do not place feature module routes here, use an own -routing.module.ts in the feature instead)
55
*/
66
export const AppRoutes: Routes = [
7-
{ path: '', pathMatch: 'full', redirectTo: '/home' },
8-
{ path: 'home', loadChildren: './home/home.module#HomeModule' },
9-
{ path: 'about', loadChildren: './about/about.module#AboutModule' }
7+
{ path: '', redirectTo: '/home', pathMatch: 'full' },
8+
{ path: 'home', loadChildren: 'app/home/home.module#HomeModule' },
9+
{ path: 'about', loadChildren: 'app/about/about.module#AboutModule' }
1010
];

0 commit comments

Comments
 (0)