From dbbcb66dff86d76d1bb6d09a452f089d171c5e83 Mon Sep 17 00:00:00 2001 From: Cody Swartz Date: Thu, 26 Jul 2018 01:40:03 -0700 Subject: [PATCH] Give an exmple of how to include howler as a dependency --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f018d3e3..7342f31a 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,16 @@ In the browser: ``` +As a dependency: + +```javascript +import {Howl, Howler} from 'howler'; +``` + +```javascript +const {Howl, Howler} = require('howler'); +``` + ### Examples ##### Most basic, play an MP3: