Skip to content

Commit

Permalink
Merge pull request #90 from chareice/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
sorrycc committed Sep 16, 2016
2 parents 435862e + b786d7b commit 76220c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ View [Concepts](https://github.com/dvajs/dva-docs/blob/master/v1/en-us/concepts.

### `app = dva(opts)`

Initialize a new `dva` app. Takes an optional object of handlers that is passed to [app.use](#appusehooks). Besides, you can config `history` `initialState` here.
Initialize a new `dva` app. Takes an optional object of handlers that is passed to [app.use](#appusehooks). Besides, you can config `history` and `initialState` here.

- `opts.history:` the history for router, default: `hashHistory`
- `opts.initialState:` initialState of the app, default: `{}`
Expand Down

0 comments on commit 76220c4

Please sign in to comment.