chore(docs): UPDATE

This commit is contained in:
草鞋没号 2021-11-12 08:35:08 +08:00
parent 2e5a01bd75
commit 94b6009bdd
2 changed files with 34 additions and 28 deletions

View File

@ -1,13 +1,14 @@
# electron-vue-vite # electron-vue-vite
![awesome-vite](https://camo.githubusercontent.com/abb97269de2982c379cbc128bba93ba724d8822bfbe082737772bd4feb59cb54/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667)
![GitHub license](https://img.shields.io/github/license/caoxiemeihao/electron-vue-vite?style=flat)
![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/electron-vue-vite?color=fa6470&style=flat) ![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/electron-vue-vite?color=fa6470&style=flat)
![GitHub forks](https://img.shields.io/github/forks/caoxiemeihao/electron-vue-vite?style=flat) ![GitHub forks](https://img.shields.io/github/forks/caoxiemeihao/electron-vue-vite?style=flat)
![GitHub issues](https://img.shields.io/github/issues/caoxiemeihao/electron-vue-vite?style=flat)
![GitHub license](https://img.shields.io/github/license/caoxiemeihao/electron-vue-vite?style=flat)
**English | [简体中文](README.zh-CN.md)** **English | [简体中文](README.zh-CN.md)**
🥳 Simple `Electron` + `Vue3` + `Vite2` boilerplate. Build based on rollup and ⚡vite. 🥳 Very simple `Electron` + `Vue3` + `Vite2` boilerplate.
## Run Setup ## Run Setup
@ -54,14 +55,14 @@
```tree ```tree
├── dist ├── dist
| ├── main ├── main
| ├── preload ├── preload
| ├── renderer ├── renderer
├── src ├── src
| ├── main ├── main
| ├── preload ├── preload
| ├── renderer ├── renderer
|
``` ```
## Communication ## Communication

View File

@ -1,15 +1,16 @@
# electron-vue-vite # electron-vue-vite
![awesome-vite](https://camo.githubusercontent.com/abb97269de2982c379cbc128bba93ba724d8822bfbe082737772bd4feb59cb54/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667)
![GitHub license](https://img.shields.io/github/license/caoxiemeihao/electron-vue-vite?style=flat)
![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/electron-vue-vite?color=fa6470&style=flat) ![GitHub stars](https://img.shields.io/github/stars/caoxiemeihao/electron-vue-vite?color=fa6470&style=flat)
![GitHub forks](https://img.shields.io/github/forks/caoxiemeihao/electron-vue-vite?style=flat) ![GitHub forks](https://img.shields.io/github/forks/caoxiemeihao/electron-vue-vite?style=flat)
![GitHub issues](https://img.shields.io/github/issues/caoxiemeihao/electron-vue-vite?style=flat)
![GitHub license](https://img.shields.io/github/license/caoxiemeihao/electron-vue-vite?style=flat)
**[English](README.md) | 简体中文** **[English](README.md) | 简体中文**
🥳 基于 `Rollup``⚡Vite` 构建的 `Electron` + `Vue3` + `Vite2` 模板;**简单,容易上手!** 🥳 `Electron` + `Vue3` + `Vite2` 整合模板 -- **结构简单,容易上手!**
## Run Setup ## 运行项目
```bash ```bash
# clone the project # clone the project
@ -52,17 +53,17 @@
- 在使用一些路径计算时,尤其是相对路径计算;`dist``src` 里面保持相同的目录结构能避开好多问题 - 在使用一些路径计算时,尤其是相对路径计算;`dist``src` 里面保持相同的目录结构能避开好多问题
```tree ```tree
├── dist ├── dist
| ├── main ├── main
| ├── preload ├── preload
| ├── renderer ├── renderer
├── src ├── src
| ├── main ├── main
| ├── preload ├── preload
| ├── renderer ├── renderer
|
``` ```
## 渲染进程使用 NodeJs API ## 渲染进程使用 NodeJs API
@ -89,8 +90,12 @@
``` ```
## 运行效果 ## 运行效果
<img width="700px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/electron-vue-vite/screenshot/electron-15.png" /> <img width="400px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/electron-vue-vite/screenshot/electron-15.png" />
## 微信群 ## 微信讨论 | | 请我喝杯下午茶 🥳
<img width="244px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/assets/wechat/group/qrcode.jpg" /> <div style="display:flex;">
<img width="244px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/assets/wechat/group/qrcode.jpg" />
&nbsp;&nbsp;&nbsp;&nbsp;
<img width="244px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/assets/wechat/%24qrcode/%2419.99.png" />
</div>