Skip to content

Commit

Permalink
Merge pull request #1005 from ctsstc/readme-howler-as-dependency
Browse files Browse the repository at this point in the history
Give an example of how to include howler as a dependency
  • Loading branch information
goldfire authored Aug 25, 2018
2 parents 9185b6a + dbbcb66 commit 2894560
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ In the browser:
</script>
```

As a dependency:

```javascript
import {Howl, Howler} from 'howler';
```

```javascript
const {Howl, Howler} = require('howler');
```

### Examples

##### Most basic, play an MP3:
Expand Down

0 comments on commit 2894560

Please sign in to comment.