Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit 1442978

Browse files
gor181austinpray
authored andcommitted
Chartjs version instructions (#106)
* Denote that react and chart.js 1.1.1 should be installed. * make instructions aligned with rest of the examples
1 parent 2aeca03 commit 1442978

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ This is a CommonJS component only (to be used with something like Webpack or Bro
1818
```
1919
npm install --save react-chartjs
2020
```
21-
You must also include [chart.js](https://www.npmjs.com/package/chart.js) and [React](https://www.npmjs.com/package/react) as dependencies.
21+
You must also include [chart.js](https://www.npmjs.com/package/chart.js) and [React](https://www.npmjs.com/package/react) as dependencies.
22+
```
23+
npm install --save chart.js@^1.1.1 react react-dom
24+
```
2225

2326
Example Usage
2427
-------------

0 commit comments

Comments
 (0)