Skip to content

Commit

Permalink
README: re-order for dist usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens authored May 8, 2017
1 parent f5f02c9 commit 91a6a9e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ Then open [`localhost:8000`](http://localhost:8000) in a browser.

## Installation

The easiest way to use React-tappable is to install it from NPM and include it in your own React build process (using [Browserify](http://browserify.org), etc).

You can also use the standalone build by including `dist/react-tappable.js` in your page. If you use this, make sure you have already included React, and it is available as a global variable.
The easiest way to use React-tappable is to install it from npm.

```
npm install react-tappable --save
```

Ensure to include it in your own React build process (using [Browserify](http://browserify.org), etc).

You could also use the standalone build by including `dist/react-tappable.js` in your page; but, if you do this, make sure you have already included React, and that it is available globally.


## Usage

Expand Down

0 comments on commit 91a6a9e

Please sign in to comment.