基本DEMO見這里 https://github.com/chenjun1127/react-music-player,跟老師寫的不一樣,另一個(gè)版本,覺得不錯(cuò)的,點(diǎn)個(gè)star,謝謝
2017-08-28
基本代碼見這里 https://github.com/chenjun1127/react-music-player,跟老師寫的不一樣,另一個(gè)版本,覺得不錯(cuò)的,點(diǎn)個(gè)star,謝謝
2017-08-28
自己的學(xué)習(xí)筆記,使用 YEOMAN 構(gòu)建項(xiàng)目,ES6 語(yǔ)法。項(xiàng)目筆記、代碼:https://github.com/imzyf/music-player-by-react 演示地址:https://imzyf.github.io/music-player-by-react/ 歡迎 start 提 issues
2017-08-27
自己的學(xué)習(xí)筆記,使用 YEOMAN 構(gòu)建項(xiàng)目,ES6 語(yǔ)法。項(xiàng)目筆記、代碼:https://github.com/imzyf/music-player-by-react 演示地址:https://imzyf.github.io/music-player-by-react/ 歡迎 start 提 issues
2017-08-27
自己的學(xué)習(xí)筆記,使用 YEOMAN 構(gòu)建項(xiàng)目,ES6 語(yǔ)法。項(xiàng)目筆記、代碼:https://github.com/imzyf/music-player-by-react 演示地址:https://imzyf.github.io/music-player-by-react/ 歡迎 start 提 issues
2017-08-27
最新的版本里這倆地方修改為:
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
2017-08-26
最贊回答 / ywang04
如果用es6寫的話 參考如下:<...code...>還需要安裝 "babel-preset-stage-0"?<...code...>并且在webpack.config.js里添加stage-0<...code...><...code...>
2017-08-25
老師。設(shè)置默認(rèn)樣式報(bào)錯(cuò)“proxyConsole.js:56 Warning: getDefaultProps was defined on Progress, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.”
2017-08-25
跟著老師的教程來的https://github.com/onlyliubara/react-player,還記載了一些會(huì)出錯(cuò)的地方~~
2017-08-25
webpack 3.5.5
module.exports = {
entry: __dirname + '/app/index.js',
output: {
path: __dirname + '/dist',
filename:'bundle.js'
}
}
module.exports = {
entry: __dirname + '/app/index.js',
output: {
path: __dirname + '/dist',
filename:'bundle.js'
}
}
2017-08-24
既然出教程,就好好弄,大家好不容易搭建一個(gè)環(huán)境,結(jié)果關(guān)鍵文件的導(dǎo)入及配置都跳過不講,那有個(gè)毛用。組件誰(shuí)都會(huì)寫,但是配置很關(guān)鍵。希望官方長(zhǎng)點(diǎn)心,為大家負(fù)責(zé)。
2017-08-24