一個基於 electron-vue 開發的音樂播放器 (持續更新中..歡迎star)vue
源碼地址:https://github.com/SmallRuralDog/electron-vue-musicnode
git clone https://github.com/SmallRuralDog/electron-vue-music.git
cd electron-vue-music
npm install
# serve with hot reload at localhost:9080
npm run dev
# build electron application for production
npm run build
複製代碼
注意 修改
src\renderer\utils\https
的api接口地址git
網易雲音樂 Node.js API servicegithub
須要 NodeJS 6.0+ 環境shell
$ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git
$ npm install
複製代碼
$ node app.js
複製代碼
服務器啓動默認端口爲 3000,若不想使用 3000 端口,可以使用如下命令: Mac/Linuxnpm
$ PORT=4000 node app.js
複製代碼
windows 下使用 git-bash 或者 cmder 等終端執行如下命令:windows
$ set PORT=4000 && node app.js
複製代碼
文檔地址api