Skip to content

Commit 2894560

Browse files
authored
Merge pull request goldfire#1005 from ctsstc/readme-howler-as-dependency
Give an example of how to include howler as a dependency
2 parents 9185b6a + dbbcb66 commit 2894560

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ In the browser:
7777
</script>
7878
```
7979

80+
As a dependency:
81+
82+
```javascript
83+
import {Howl, Howler} from 'howler';
84+
```
85+
86+
```javascript
87+
const {Howl, Howler} = require('howler');
88+
```
89+
8090
### Examples
8191

8292
##### Most basic, play an MP3:

0 commit comments

Comments
 (0)