Code Monkey home page Code Monkey logo

my-electron-vue-vue-music's Introduction

my-electron-vue-vue-music

模仿网易云音乐

工程介绍


This project was generated with electron-vue using vue-cli. Documentation about the original structure can be found here.

Build Setup

# install dependencies
npm install

# 本地启动项目
npm run dev

# 打包项目
npm run build

启动后端 api 服务

使用的是 官方api

$ git clone [email protected]:Binaryify/NeteaseCloudMusicApi.git

$ npm install

$ node app.js

服务器启动默认端口为 3000 .

开发问题记录

Electron相关

element ui table 组件不显示

全局引入 element ui 后,使用 element ui 的 table 组件发现无法显示。

解决:在 .electron-vue/webpack.renderer.config.js 修改如下代码:

...
let whiteListedModules = ['vue', 'element-ui']
...

build报错

初始化工程后,执行 npm run build 异常

Cannot locate Mac/Finder/DS_Store.pm in @INC (you may need to install the Mac::Finder::DSStore module)

解决: 由于 "electron-builder": "^20.15.1", 版本太低导致,卸载重装 "electron-builder": "^22.13.1", 即可。

my-electron-vue-vue-music's People

Contributors

wenfujie avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.