All Projects → Izayawww → My Electron Vue

Izayawww / My Electron Vue

electron-vue体验

Projects that are alternatives of or similar to My Electron Vue

music
🎵vue 像素级还原mac客户端网易云音乐
Stars: ✭ 34 (-49.25%)
Mutual labels:  electron-vue
Bilibili Live Helper
Bilibili直播弹幕库 for Mac / Windows / Linux
Stars: ✭ 430 (+541.79%)
Mutual labels:  electron-vue
Dockeron
🤖🤖🤖 Electron + Vue.js for Docker
Stars: ✭ 757 (+1029.85%)
Mutual labels:  electron-vue
handscream
Time and task Management
Stars: ✭ 27 (-59.7%)
Mutual labels:  electron-vue
Space Snake
A Desktop game built with Electron and Vue.js.
Stars: ✭ 289 (+331.34%)
Mutual labels:  electron-vue
Mp Unpack
基于electron-vue开发的跨平台微信小程序自助解包(反编译)客户端
Stars: ✭ 517 (+671.64%)
Mutual labels:  electron-vue
pomotroid
A simple, visually-pleasing, cross-platform, pomodoro timer [DEPRECATED]
Stars: ✭ 14 (-79.1%)
Mutual labels:  electron-vue
Pic Gather
[ Closed ] 🎨 image collector, which supports custom acquisition source configuration and is compatible with MacOS and Windows operating systems.
Stars: ✭ 842 (+1156.72%)
Mutual labels:  electron-vue
Lulumi Browser
Lulumi-browser is a lightweight browser coded with Vue.js 2 and Electron.
Stars: ✭ 367 (+447.76%)
Mutual labels:  electron-vue
Hexo Client
hexo-client: A cross-platform hexo client, build on electron.
Stars: ✭ 672 (+902.99%)
Mutual labels:  electron-vue
elekid
Resolver for React's Server Side Render on Module, ReactElement or Electron
Stars: ✭ 21 (-68.66%)
Mutual labels:  electron-vue
Vue Electron
The vue plugin that attaches electron APIs to the Vue object, making them accessible to all components.
Stars: ✭ 283 (+322.39%)
Mutual labels:  electron-vue
Xcel
一个基于 Electron 和 Vue 的 Excel 数据过滤工具——凹凸实验室出品 https://aotu.io/notes/2016/11/15/xcel/
Stars: ✭ 649 (+868.66%)
Mutual labels:  electron-vue
huobi-PC
火币桌面客户端,基于electorn-vue开发
Stars: ✭ 56 (-16.42%)
Mutual labels:  electron-vue
D2 Admin Electron Vue
基于electron-vue构建的桌面版d2-admin(simple)示例
Stars: ✭ 19 (-71.64%)
Mutual labels:  electron-vue
emerge
代码生成器
Stars: ✭ 44 (-34.33%)
Mutual labels:  electron-vue
Lanmiaodesktop
一个完整electron桌面记账程序,技术栈主要使用electron-vue+vuetify。开机自动启动,自动更新,托盘最小化,闪烁等常用功能,Nsis制作漂亮的安装包。
Stars: ✭ 440 (+556.72%)
Mutual labels:  electron-vue
Mwave
A Music Player that can show audio waveform
Stars: ✭ 62 (-7.46%)
Mutual labels:  electron-vue
Cocomusic
a simple music player built by electron and vue
Stars: ✭ 937 (+1298.51%)
Mutual labels:  electron-vue
Social Amnesia
Forget the past. Social Amnesia makes sure your social media accounts only show your posts from recent history, not from "that phase" 5 years ago.
Stars: ✭ 656 (+879.1%)
Mutual labels:  electron-vue

简介

像官网说的那样,electron-vue就是基于 vue 来构造 electron 应用程序的样板代码。electron-vue开发起来就和vue一样,只是如果有特殊的需求需要修改应用的话就要用到electron相关的api,项目中的数据来自这里,感谢大佬的分享。项目地址git地址

electron

Electron是由Github开发,用HTML,CSS和JavaScript来构建跨平台桌面应用程序的一个开源库。 Electron通过将Chromium和Node.js合并到同一个运行时环境中,并将其打包为Mac,Windows和Linux系统下的应用来实现这一目的。(摘之官网)

vue

vue的话就不多提了,网站

预览

  • 18/11/05更新 点击左侧歌单栏跳转对应歌单详情

  • 18/11/10更新 我的歌手、电台

  • 18/11/12更新 播放页面暂时排版

项目流程

可以先去electron官网了解一下它的开发流程,知道它大体是个怎样的情况就好,后面使用的时候可以再来看看它的api.

搭建

npm install -g vue-cli  
vue init simulatedgreg/electron-vue ele-vue
cd ele-vue
npm install
npm run dev

安装过程中一路回车就行,中途会有个让你选择插件的时候,也是为了后面自己手动去装,这里就根据需要选择。

electron-packager

如果你刚开始制作 electron 应用程序或只需要创建简单的可执行文件,那么 electron-packager 就可以满足你的需求。

electron-builder

如果你正在寻找完整的安装程序、自动更新的支持、使用 Travis CI 和 AppVeyor 的 CI 构建、或本机 node 模块的自动重建,那么你会需要 electron-builder。

还是根据自己的需要选择

这些完成以后就可以像开发vue一样去开发项目了。

插件方面

electron-vue中也是能使用前端的ui组件的,以element-ui为例

npm i element-ui -S
然后在main.js中引入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

electron

一点自己的配置
mainWindow = new BrowserWindow({
    height: 670,//窗口高度
    width: 1000,//窗口宽度
    frame: true,//是否显示窗口边框
    resizable: false,//可否缩放
    movable: true//可否移动
  })

iconfont

element的icon可能并不能满足我们的需求,这时候可以选择使用阿里的iconfont。
先去iconfont官网选择你想要的icon,

选择添加到你自己的项目 然后可以在自己的项目中选择生成,复制代码到electron-vue项目的index.ejs中,正常引用css <link rel="stylesheet" href="//at.alicdn.com/t/font_883876_bfzwywhpal.css"> 使用<i class="iconfont icon-play-circle"></i>

打包

直接使用npm run build就可以打包,若是要针对不同平台则按需添加参数,打包后的安装包在项目的build文件夹下

最后

界面是两天开发出来的。。所以某些样式不太美观。有个问题是打包以后iconfont不显示了,这个问题后面再解决一下,最直接的办法还是把它下到本地引用。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].