React音乐播放器模板

React 的音乐播放器项目,结构清晰,功能也挺实用。用的是脚手架,开箱即用,开发环境搭好就能跑,适合拿来练手或者二次开发。

开发时直接npm start,页面能自动刷新,改代码就能实时看到效果,响应也快,开发体验还不错。测试也有内建的,npm test就行,适合写点简单用例。

上线也方便,一条npm run build打包命令,构建出来的build文件夹就能直接部署,文件也都压缩好了,带哈希,访问更快更稳。

如果你想深入折腾一下构建配置,也能npm run eject,Webpack 和 Babel 配置全放出来了,不过一旦执行就不能回头,慎用哦。

整体用起来蛮轻松,适合新手做音乐类项目的模板。如果你想参考其他实现,也可以看看这篇,或者这个也不错。

如果你正在找个 React 方向的练手项目,又喜欢音乐类的 UI,不妨试试这个。

zip
React-Music-Player-master.zip 预估大小:26个文件
folder
React-Music-Player-master 文件夹
file
.gitignore 310B
file
package.json 1KB
file
package-lock.json 701KB
folder
src 文件夹
folder
components 文件夹
file
LibrarySong.js 924B
file
Library.js 701B
file
Song.js 288B
file
Player.js 3KB
file
Nav.js 431B
file
index.js 478B
file
App.js 2KB
file
reportWebVitals.js 362B
folder
index.css 文件夹
folder
styles 文件夹
file
_player.scss 517B
file
app.scss 360B
file
_library.scss 1KB
file
_song.scss 362B
file
_nav.scss 602B
file
data.js 2KB
folder
public 文件夹
file
robots.txt 67B
file
logo192.png 5KB
file
index.html 2KB
file
favicon.ico 4KB
file
manifest.json 492B
file
logo512.png 9KB
file
README.md 3KB
file
.eslintcache 4KB
zip 文件大小:200.69KB