正在显示
1 个修改的文件
包含
5 行增加
和
12 行删除
| 1 | # Electron-Vue-template | 1 | # Electron-Vue-template |
| 2 | 2 | ||
| 3 | -> 这是一个基于electron的vue最基本的模板,其中前端技术栈则用到vue全家桶,axios作为http请求,而本地数据库则是nedb。现在合并了花裤衩的vue-admin中的东西,由于我司需求方面,所以侧栏的渲染比较新奇,侧栏样式是在` src/renderer/layout/components/sidebar `文件夹中,大家可以根据需求进行个性化更改,鄙人后续会将这个和花裤衩大大的同步. | 3 | +> 这是一个基于electron的vue最基本的模板,其中前端技术栈则用到vue全家桶,axios作为http请求,而本地数据库则是nedb。现在合并了花裤衩的vue-admin中的东西侧栏样式是在` src/renderer/layout/components/sidebar `文件夹中,大家可以根据需求进行个性化更改,鄙人后续会将这个和花裤衩大大的同步. |
| 4 | 4 | ||
| 5 | - 因为花裤衩大大的ELECTRON版本已经一年没有更新了,而且ELECTRON,vue,elementui,都已经迭代太多,刚好我司有这方面的需求,我就在vue-electron脚手架生成的项目基础上,将花裤衩大大的项目核心组件提取出来合并到这个项目中,在我简单的封装了axios和db.以及electron常用的信息弹窗,错误弹窗,稍后的日子中我会慢慢完善这个文档,暂时如果有人需要使用这个项目,还请多多包含,因为文档不够完善,只能用过直接看代码,在路由页面我有注释. | 5 | - 因为花裤衩大大的ELECTRON版本已经一年没有更新了,而且ELECTRON,vue,elementui,都已经迭代太多,刚好我司有这方面的需求,我就在vue-electron脚手架生成的项目基础上,将花裤衩大大的项目核心组件提取出来合并到这个项目中,在我简单的封装了axios和db.以及electron常用的信息弹窗,错误弹窗,稍后的日子中我会慢慢完善这个文档,暂时如果有人需要使用这个项目,还请多多包含,因为文档不够完善,只能用过直接看代码,在路由页面我有注释. |
| 6 | 6 | ||
| ... | @@ -31,27 +31,20 @@ npm test | ... | @@ -31,27 +31,20 @@ npm test |
| 31 | # 如若实在不行无法安装electron依赖,请使用 | 31 | # 如若实在不行无法安装electron依赖,请使用 |
| 32 | npm config edit | 32 | npm config edit |
| 33 | # 该命令会打开npm的配置文件,请在registry=https://registry.npm.taobao.org/这行代码后的下一行添加 | 33 | # 该命令会打开npm的配置文件,请在registry=https://registry.npm.taobao.org/这行代码后的下一行添加 |
| 34 | -# electron_mirror=https://cdn.npm.taobao.org/dist/electron/ | 34 | +# electron_mirror=https://cdn.npm.taobao.org/dist/electron/ 和 sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ |
| 35 | # 然后关闭该窗口,重启命令行,删除node_modules文件夹,并重新安装依赖即可 | 35 | # 然后关闭该窗口,重启命令行,删除node_modules文件夹,并重新安装依赖即可 |
| 36 | 36 | ||
| 37 | ``` | 37 | ``` |
| 38 | 38 | ||
| 39 | -<h3 align="center">感谢jetbrains提供ide支持</h3> | ||
| 40 | - | ||
| 41 | -<p align="center"> | ||
| 42 | - <a href="https://www.jetbrains.com/?from=electron-vue-template" target="_blank"> | ||
| 43 | - <img width="160px" src="https://wx1.sbimg.cn/2020/04/24/jetbrains.png"> | ||
| 44 | - </a> | ||
| 45 | -</p> | ||
| 46 | - | ||
| 47 | --- | 39 | --- |
| 48 | 40 | ||
| 49 | 这个项目使用了 [electron-vue](https://github.com/SimulatedGREG/electron-vue)@[8fae476](https://github.com/SimulatedGREG/electron-vue/tree/8fae4763e9d225d3691b627e83b9e09b56f6c935) using [vue-cli](https://github.com/vuejs/vue-cli). 文档你们可以在这里看到: [这里](https://simulatedgreg.gitbooks.io/electron-vue/content/index.html). | 41 | 这个项目使用了 [electron-vue](https://github.com/SimulatedGREG/electron-vue)@[8fae476](https://github.com/SimulatedGREG/electron-vue/tree/8fae4763e9d225d3691b627e83b9e09b56f6c935) using [vue-cli](https://github.com/vuejs/vue-cli). 文档你们可以在这里看到: [这里](https://simulatedgreg.gitbooks.io/electron-vue/content/index.html). |
| 50 | 这是花裤衩大大原本的[地址](https://github.com/PanJiaChen/electron-vue-admin) | 42 | 这是花裤衩大大原本的[地址](https://github.com/PanJiaChen/electron-vue-admin) |
| 51 | 43 | ||
| 52 | # 更新日志 | 44 | # 更新日志 |
| 53 | -- 2020年06月22日:替换node-sass为dart-sass再也不用因为下载sass而苦恼,稳定分支升级electron版本为8,激进分支为9,其中激进分支剔除了nedb,大幅度修改了ipc,文档尚未更新。 | 45 | +- 2020年09月10日:例行更新依赖,感谢 @BelinChung 贡献代码,修正bug。 |
| 54 | -- 2020年04月29日:修复web打包失败,提升依赖;文档待完善 | 46 | +- 2020年04月30日:添加内置服务端关闭方法,进一步简化登录流程;多窗口文档已就绪,服务端说明尚未补充。 |
| 47 | +- 2020年04月29日:添加了路由多窗口示例,修复web打包,提升依赖;文档还未就绪 | ||
| 55 | - 2020年02月09日:添加[中文在线文档](https://umbrella22.github.io/electron-vue-template-doc/),[国内访问地址](https://zh-sky.gitee.io/electron-vue-template-doc/) | 48 | - 2020年02月09日:添加[中文在线文档](https://umbrella22.github.io/electron-vue-template-doc/),[国内访问地址](https://zh-sky.gitee.io/electron-vue-template-doc/) |
| 56 | - 剔除win打包依赖,因为太大了,将它放到码云的额外仓库中,[地址](https://gitee.com/Zh-Sky/HardToDownloadLib) | 49 | - 剔除win打包依赖,因为太大了,将它放到码云的额外仓库中,[地址](https://gitee.com/Zh-Sky/HardToDownloadLib) |
| 57 | - 2020年02月06日更新:激进分支更新至8.0.0. | 50 | - 2020年02月06日更新:激进分支更新至8.0.0. | ... | ... |
-
请 注册 或 登录 后发表评论