React技術(shù)棧仿網(wǎng)易云音樂(移動端)

初學(xué)React, 練手的網(wǎng)易云音樂項(xiàng)目

一坤塞、簡介

技術(shù)棧

  1. React
  2. React-Router
  3. Redux
  4. Ant Design
  5. 網(wǎng)易云音樂接口服務(wù)https://github.com/Binaryify/NeteaseCloudMusicApi

二冯勉、 項(xiàng)目結(jié)構(gòu)

src:.
│  index.js
│  
├─action
│      actions.js
│      handleMusicList.js
│      
├─assest
│  └─fonts
│          iconfont.css
│          iconfont.eot
│          iconfont.js
│          iconfont.svg
│          iconfont.ttf
│          iconfont.woff
│          
├─components
│      Home.js
│      HotList.js
│      Playlist.js
│      Recommend.js
│      Search.js
│      Song.js
│      
├─css
│      globle.scss
│      hotlist.scss
│      playlist.scss
│      recommend.scss
│      search.scss
│      song.scss
│      
├─reducers
│      rootreducer.js
│      
└─store
        store.js
        

三、目前進(jìn)度

  • 推薦頁
  • 榜單頁
  • 搜索頁
  • 音樂播放-歌詞
  • 音樂播放-進(jìn)度
  • 歌單頁
  • 歌曲播放列表

四摹芙、項(xiàng)目預(yù)覽

Github:https://github.com/kakuuuu/react_study

image.png
image.png
image.png
image.png
image.png

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.<br />
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.<br />
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject , you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject . The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末灼狰,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子瘫辩,更是在濱河造成了極大的恐慌伏嗜,老刑警劉巖,帶你破解...
    沈念sama閱讀 206,602評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件伐厌,死亡現(xiàn)場離奇詭異承绸,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)挣轨,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,442評論 2 382
  • 文/潘曉璐 我一進(jìn)店門军熏,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人卷扮,你說我怎么就攤上這事荡澎。” “怎么了晤锹?”我有些...
    開封第一講書人閱讀 152,878評論 0 344
  • 文/不壞的土叔 我叫張陵摩幔,是天一觀的道長。 經(jīng)常有香客問我鞭铆,道長或衡,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 55,306評論 1 279
  • 正文 為了忘掉前任,我火速辦了婚禮封断,結(jié)果婚禮上斯辰,老公的妹妹穿的比我還像新娘。我一直安慰自己坡疼,他們只是感情好彬呻,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,330評論 5 373
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著柄瑰,像睡著了一般闸氮。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上狱意,一...
    開封第一講書人閱讀 49,071評論 1 285
  • 那天湖苞,我揣著相機(jī)與錄音,去河邊找鬼详囤。 笑死财骨,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的藏姐。 我是一名探鬼主播隆箩,決...
    沈念sama閱讀 38,382評論 3 400
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼羔杨!你這毒婦竟也來了捌臊?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 37,006評論 0 259
  • 序言:老撾萬榮一對情侶失蹤兜材,失蹤者是張志新(化名)和其女友劉穎理澎,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體曙寡,經(jīng)...
    沈念sama閱讀 43,512評論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡糠爬,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 35,965評論 2 325
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了举庶。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片执隧。...
    茶點(diǎn)故事閱讀 38,094評論 1 333
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖户侥,靈堂內(nèi)的尸體忽然破棺而出镀琉,到底是詐尸還是另有隱情,我是刑警寧澤蕊唐,帶...
    沈念sama閱讀 33,732評論 4 323
  • 正文 年R本政府宣布屋摔,位于F島的核電站,受9級特大地震影響替梨,放射性物質(zhì)發(fā)生泄漏钓试。R本人自食惡果不足惜署尤,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,283評論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望亚侠。 院中可真熱鬧,春花似錦俗扇、人聲如沸硝烂。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,286評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽滞谢。三九已至,卻和暖如春除抛,著一層夾襖步出監(jiān)牢的瞬間狮杨,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 31,512評論 1 262
  • 我被黑心中介騙來泰國打工到忽, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留橄教,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 45,536評論 2 354
  • 正文 我出身青樓,卻偏偏與公主長得像,于是被迫代替她去往敵國和親料饥。 傳聞我的和親對象是個(gè)殘疾皇子卦绣,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,828評論 2 345