剛剛踩完所有的坑,完成循環(huán)、隨機(jī)、單曲播放,基于webpack4.6.0和react16.3.2
地址:https://github.com/LinkChenzy/music-player-by-react
地址:https://github.com/LinkChenzy/music-player-by-react
2018-05-14
最新回答 / LLoyou00
這個(gè)教程的時(shí)間年代有些久遠(yuǎn)了,有些配置在新的版本已經(jīng)過(guò)時(shí)了。其它配置都沒錯(cuò)的情況下的話沒有熱更新可能是因?yàn)槟銢]有將 mode 設(shè)為 'development',webpack 默認(rèn)會(huì)以 'production' 模式工作,這種模...
2018-05-08
最贊回答 / weibo_孟姑娘呢呢呢呢呢_0
兄弟 安裝成3.0的webpack就不會(huì)出這個(gè)錯(cuò)誤了?npm install webpack@3.10.0 -g
2018-05-01
啋了無(wú)數(shù)個(gè)坑,終于全做出來(lái)了
使用create-react-app腳手架搭建react音樂播放器
使用了 react, redux, react-keeper,沒有用react-router ,因?yàn)闆]有頁(yè)面緩存,從播放頁(yè)面進(jìn)入列表頁(yè),再回來(lái),音樂就重新播放了
項(xiàng)目地址:https://github.com/xstnet/react-music-player
項(xiàng)目預(yù)覽:https://xstnet.github.io/react-music-player/
使用create-react-app腳手架搭建react音樂播放器
使用了 react, redux, react-keeper,沒有用react-router ,因?yàn)闆]有頁(yè)面緩存,從播放頁(yè)面進(jìn)入列表頁(yè),再回來(lái),音樂就重新播放了
項(xiàng)目地址:https://github.com/xstnet/react-music-player
項(xiàng)目預(yù)覽:https://xstnet.github.io/react-music-player/
2018-04-22