Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chareice committed Sep 16, 2016
1 parent 435862e commit b786d7b
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 b786d7b

Please sign in to comment.