Skip to content

Commit d30e5c6

Browse files
committed
集成serve到客户端
1 parent b16239a commit d30e5c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2935
-456
lines changed

Diff for: .idea/workspace.xml

+384-233
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: README.md

+4-42
Original file line numberDiff line numberDiff line change
@@ -12,57 +12,19 @@ cd electron-vue-music
1212

1313
npm install
1414

15-
# serve with hot reload at localhost:9080
15+
# 运行开发模式
1616
npm run dev
1717

18-
# build electron application for production
18+
# 打包exe安装文件
1919
npm run build
2020

2121
```
22-
>注意 修改 `src\renderer\utils\https` 的api接口地址
22+
>注意 正式打包需要把字体文件下载到本地,否则正式版图标不显示
2323
2424
# 网易云音乐 API
2525

26-
网易云音乐 Node.js API service
27-
28-
<p>
29-
<a href="https://www.npmjs.com/package/NeteaseCloudMusicApi"><img src="https://img.shields.io/npm/v/NeteaseCloudMusicApi.svg" alt="Version"></a>
30-
<a href="https://www.npmjs.com/package/NeteaseCloudMusicApi"><img src="https://img.shields.io/npm/l/NeteaseCloudMusicApi.svg" alt="License"></a>
31-
<a href="https://www.npmjs.com/package/NeteaseCloudMusicApi"><img src="https://img.shields.io/david/dev/binaryify/NeteaseCloudMusicApi.svg" alt="devDependencies" ></a>
32-
<a href="https://www.npmjs.com/package/NeteaseCloudMusicApi"><img src="https://img.shields.io/david/binaryify/NeteaseCloudMusicApi.svg" alt="devDependencies" ></a>
33-
<a href="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi"><img src="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi/badges/gpa.svg" /></a>
34-
</p>
35-
36-
37-
## 环境要求
38-
39-
需要 NodeJS 6.0+ 环境
40-
41-
## 安装
42-
43-
```shell
44-
$ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git
45-
$ npm install
46-
```
47-
48-
## 运行
49-
50-
```shell
51-
$ node app.js
52-
```
53-
54-
服务器启动默认端口为 3000,若不想使用 3000 端口,可使用以下命令: Mac/Linux
55-
56-
```shell
57-
$ PORT=4000 node app.js
58-
```
59-
60-
windows 下使用 git-bash 或者 cmder 等终端执行以下命令:
61-
62-
```shell
63-
$ set PORT=4000 && node app.js
64-
```
6526

27+
> 已经集成到 electron
6628
6729
## 使用文档
6830

0 commit comments

Comments
 (0)