Skip to content

Commit c606cae

Browse files
committed
Change router imports to nativescript-angular/router
1 parent 903fb16 commit c606cae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import "reflect-metadata";
22
import {Component} from "angular2/core";
33
import {RouteConfig} from "angular2/router";
4-
import {NS_ROUTER_DIRECTIVES} from "nativescript-angular/router/ns-router";
4+
import {NS_ROUTER_DIRECTIVES} from "nativescript-angular/router";
55

66
import {LoginPage} from "./pages/login/login.component";
77
import {RegisterPage} from "./pages/register/register.component";

app/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {nativeScriptBootstrap} from "nativescript-angular/application";
22
import {HTTP_PROVIDERS} from "angular2/http";
3-
import {NS_ROUTER_PROVIDERS} from "nativescript-angular/router/ns-router";
3+
import {NS_ROUTER_PROVIDERS} from "nativescript-angular/router";
44
import {AppComponent} from "./app.component";
55

66
nativeScriptBootstrap(AppComponent, [HTTP_PROVIDERS, NS_ROUTER_PROVIDERS]);

0 commit comments

Comments
 (0)