Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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')
],
```