mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
15 lines
No EOL
689 B
Markdown
15 lines
No EOL
689 B
Markdown
# Minimal Example
|
|
|
|
This example includes Winamp2-js in a Webpack bundle. The audio file and skin are fetched from a free CDN at run time.
|
|
|
|
**Note:** Currently Winamp2-js is published to NPM as a single bundle which includes all of its dependencies. This means that no matter what you do, Winamp2-js is going to bring along it's own React, Redux, JSZip, etc. If you have a use case where you would like Winamp2-js to share some or all of these dependencies with your own application, please file an issue and I can look into it.
|
|
|
|
To try it out:
|
|
|
|
```
|
|
$ git clone git@github.com:captbaritone/winamp2-js.git
|
|
$ cd winamp2-js/examples/webpack/
|
|
$ npm install
|
|
$ npm run build
|
|
$ open index.html
|
|
``` |