From 34effb33e4f2804facb5020ade41d1ea97b213ad Mon Sep 17 00:00:00 2001 From: Brian Troncone Date: Sun, 29 May 2016 09:56:29 -0700 Subject: [PATCH] Update README.md Fixed numbering --- README.md | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index bccd9a0..a53503d 100644 --- a/README.md +++ b/README.md @@ -5,29 +5,29 @@ ### Setup 1. Use npm to install the bindings: -``` -npm install @ngrx/router-store --save -``` + ``` + npm install @ngrx/router-store --save + ``` 2. Use the `routerReducer` when providing `Store`: -```ts -import { provideStore } from '@ngrx/store'; -import { routerReducer } from '@ngrx/router-store'; - - -export const storeProvider = provideStore({ - // Your reducers go here, - router: routerReducer -}); -``` + ```ts + import { provideStore } from '@ngrx/store'; + import { routerReducer } from '@ngrx/router-store'; + + + export const storeProvider = provideStore({ + // Your reducers go here, + router: routerReducer + }); + ``` 3. Install the bindings providers after you setup the router providers: -```ts -import { connectRouterToStore } from '@ngrx/router-store'; - -bootstrap(App, [ - storeProvider, - provideRouter(routes), - connectRouterToStore() -]); -``` + ```ts + import { connectRouterToStore } from '@ngrx/router-store'; + + bootstrap(App, [ + storeProvider, + provideRouter(routes), + connectRouterToStore() + ]); + ```