docs: add note about peerDependencies

closes #662
This commit is contained in:
Roman Hotsiy 2018-10-04 11:15:55 +03:00
parent b87cf0d8d5
commit 56ad8443b7
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -135,6 +135,10 @@ For npm:
## Usage as a React component
Install peer dependencies required by ReDoc if you don't have them installed already:
npm i react react-dom mobx@^4.2.0 styled-components
Import `RedocStandalone` component from 'redoc' module:
```js