Skip to content

Commit d22207f

Browse files
author
Bernabé González
authored
Update README.md
1 parent 75c0312 commit d22207f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,20 @@ const store = createStore(reducer)
3434

3535
sessionService.initSessionService(store);
3636
```
37-
## Example
38-
The example simulates a simple login/logut that sends requests to a server.
37+
## Examples
38+
The examples simulates a simple login/logut that sends requests to a server.
3939

4040
### Run the example
41-
1. **get into the folder**:`cd example`
41+
1. **get into the folder**:`cd examples/example`
4242
2. **install dependencies**: `npm install`
4343
3. **run the example**: `npm start`
4444

45+
### Run the example for react router v4
46+
1. **get into the folder**:`cd examples/react-router-v4-example`
47+
2. **install dependencies**: `npm install`
48+
3. **run the example**: `npm start`
49+
50+
4551
## API
4652

4753
### initSessionService(store, refreshOnCheckAuth:Boolean, redirectPath:String)

0 commit comments

Comments
 (0)