我说这一句width: '${this.props.progress}%'怎么都传不出百分比,原来不是单引号“ ' ”,而是Tap键上面的这个不知叫什么鬼符号" ` ",我的天呐找了半天问题TAT
2017-08-19
webpack.optimize.occurenceorderplugin is not a function
2017-08-18
https://github.com/xiaolin3303/react-music-player/blob/master/package.json配置文件的网址,直接复制或者下载都行
2017-08-18
14.html-webpack-plugin
15.json-loader
16.less
17.less-loader
18.style-loader
19.webpack
20.webpack-dev-server
15.json-loader
16.less
17.less-loader
18.style-loader
19.webpack
20.webpack-dev-server
2017-08-18
来来来,你们要的安装依赖
安装方法 npm install 依赖包名称 --save
1.autoprefixer
2.babel-core
3.babel-loader
4.babel-plugin-react-transform
5.babel-preset-es2015
6.babel-preset-react
7.css-loader
8.extract-text-webpack-plugin
9.pubsub-js
10.react
11.react-dom
12.react-hot-loader
13.react-router
写不下了,接下楼
安装方法 npm install 依赖包名称 --save
1.autoprefixer
2.babel-core
3.babel-loader
4.babel-plugin-react-transform
5.babel-preset-es2015
6.babel-preset-react
7.css-loader
8.extract-text-webpack-plugin
9.pubsub-js
10.react
11.react-dom
12.react-hot-loader
13.react-router
写不下了,接下楼
2017-08-18
用最新的库包括React(v15.6.1),react-router-dom(v4.1.2)改造了一下老师的代码,加上了播放模式的控制,GitHub地址:https://github.com/Soundgreat/react-music-player 觉得OK的话就随手加个星,点个赞吧^_^
2017-08-18
老师的package.json:https://github.com/xiaolin3303/react-music-player/blob/master/package.json
2017-08-16