1 Star 0 Fork 400

张健 / electron-vue-template

forked from Sky / electron-vue-template 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Electron-Vue-template

介绍

这是什么?

  • 这是一个基于 webpack5 和 vue2/3 的 electron 快速上手框架,你不需要关注它们是怎么联动的,你只需要关注你当前的界面组合就好 剩下的交给我就好
  • 上手极快,几乎没有任何心智负担对于前端而言,特别是当你熟悉 vue 和 js 时,就好像回家了一样

有什么功能?

  1. 热更新模式,何为热更新模式,即在打包以后若有界面变更不需要用户重新下载整个应用就可以变更
  2. 文件下载
  3. 全量更新
  4. 简单的 demo 示例,包含以上代码示例具体详见文档:中文在线文档国内访问地址

请注意,在 2021 年 4 月 13 日的更新之后,将使用 esbuild 替换 babel,如对 babel 有强需求的小伙伴请勿更新。

测试打包状态:

请确保您的 node 环境是大于或等于 16

如何安装

npm config edit
# 该命令会打开npm的配置文件,请在空白处添加,此操作是配置淘宝镜像。
# registry=https://registry.npmmirror.com
# electron_mirror=https://cdn.npmmirror.com/binaries/electron/
# electron_builder_binaries_mirror=https://npmmirror.com/mirrors/electron-builder-binaries/
# 然后关闭该窗口,重启命令行.
# 使用yarn安装
yarn or yarn install

# 启动之后,会在9080端口监听
yarn dev

# build命令在不同系统环境中,需要的的不一样,需要自己根据自身环境进行配置
yarn build

启动逻辑图

更新日志

MIT License Modified work Copyright (c) 2019-present umbrella22 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

这是一个基于electron+vue+axios+elementui的跨平台桌面应用模板,内包含两个分支,作用如其名,无论是新手起步还是老鸟快速开坑,相信本项目都会给您带来最大程度的帮助~ 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/zjbass/electron-vue-template.git
git@gitee.com:zjbass/electron-vue-template.git
zjbass
electron-vue-template
electron-vue-template
master

搜索帮助