Skip to content

Commit

Permalink
Merge pull request #1942 from ianjmacintosh/1646-update-docs
Browse files Browse the repository at this point in the history
Update docs with an alternative installer command
  • Loading branch information
ljharb committed Mar 7, 2020
2 parents 927fb93 + bc0e051 commit 480b990
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To run that demo on your own computer:

## Getting Started
### Install dependencies
Ensure packages are installed with correct version numbers by running:
Ensure packages are installed with correct version numbers by running (from your command line):
```sh
(
export PKG=react-dates;
Expand All @@ -40,6 +40,8 @@ Ensure packages are installed with correct version numbers by running:
npm install --save react-dates moment@>=#.## react@>=#.## react-dom@>=#.##
```

> If you are running Windows, that command will not work, but if you are running npm 5 or higher, you can run `npx install-peerdeps react-dates` on any platform
### Initialize
```js
import 'react-dates/initialize';
Expand Down

0 comments on commit 480b990

Please sign in to comment.