Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaolin3303/react-music-player
Music player build with React, learn how to use React
https://github.com/xiaolin3303/react-music-player
music-player react react-hot-loader webpack
Last synced: 6 days ago
JSON representation
Music player build with React, learn how to use React
- Host: GitHub
- URL: https://github.com/xiaolin3303/react-music-player
- Owner: xiaolin3303
- License: mit
- Created: 2017-01-13T09:46:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-30T05:06:59.000Z (about 7 years ago)
- Last Synced: 2024-12-08T19:48:48.280Z (15 days ago)
- Topics: music-player, react, react-hot-loader, webpack
- Language: JavaScript
- Homepage:
- Size: 70.3 KB
- Stars: 293
- Watchers: 10
- Forks: 150
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-music-player
music player build with React### overview
![](https://github.com/xiaolin3303/react-music-player/blob/master/overview/music-player.png?raw=true)
![](https://github.com/xiaolin3303/react-music-player/blob/master/overview/music-list.png?raw=true)### 如何运行
**开发启动**
```shell
npm start
```**编译产品**
```shell
npm run build
```**运行各阶段例子**
修改`webpack.config.js`中`entry`
比如`Router`例子
```javascript
entry: [
'webpack-dev-server/client?http://localhost:3000',
'webpack/hot/only-dev-server',
'react-hot-loader/patch',
path.join(__dirname, 'app/router/index.js')
],
```