Skip to content

Commit

Permalink
docs(): Update import paths (ngrx#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRyanDev authored and brandonroberts committed May 13, 2016
1 parent a352cce commit faa74d5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ npm install @ngrx/router @ngrx/core --save
1. Create your application components:

```ts
import { Component } from 'angular2/core';
import { Component } from '@angular/core';

@Component({
selector: 'app',
Expand Down
4 changes: 2 additions & 2 deletions docs/overview/code-splitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Lets take the route configuration from the previous example and using Webpack's

In `routes.ts`:
```ts
import { Routes } from 'ngrx/router';
import { Routes } from '@ngrx/router';

export const routes: Routes = [
{
Expand Down Expand Up @@ -35,7 +35,7 @@ export const routes: Routes = [

In `blog-routes.ts`:
```ts
import { Routes } from 'ngrx/router';
import { Routes } from '@ngrx/router';

export const blogRoutes: Routes = [
{
Expand Down
2 changes: 1 addition & 1 deletion docs/overview/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
In order to link between routes, use the `linkTo` directive along with the full path of the route.

```ts
import { Component } from 'angular2/core';
import { Component } from '@angular/core';

@Component({
selector: 'app',
Expand Down
2 changes: 1 addition & 1 deletion docs/overview/params.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To demonstrate how to work around this, lets take the above `PostPage` component

```ts
import { Observable } from 'rxjs/Observable';
import { Http } from 'angular2/http';
import { Http } from '@angular/http';
import { RouteParams, Router } from '@ngrx/router';

@Component({
Expand Down
4 changes: 2 additions & 2 deletions docs/overview/route.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Route configuration is a set of rules the Router uses when trying to match the U
To demonstrate, lets write a couple of components for a simple blog web app:

```ts
import { Component } from 'angular2/core';
import { Component } from '@angular/core';

@Component({
selector: 'app',
Expand Down Expand Up @@ -128,7 +128,7 @@ Imagine if you wanted to show a list of posts when the user is just on `/blog`.
First we need to write a new `BlogPostsPage` component:

```ts
import { Component } from 'angular2/core';
import { Component } from '@angular/core';

@Component({
selector: 'blog-posts-page',
Expand Down

0 comments on commit faa74d5

Please sign in to comment.