修改了说明文件
This commit is contained in:
parent
260f033ee3
commit
82f452193f
86
README.md
86
README.md
@ -1,62 +1,44 @@
|
|||||||
# electron-vite-template
|
# Hi-Sass-Frame
|
||||||
|
|
||||||
[Open in Visual Studio Code](https://open.vscode.dev/umbrella22/electron-vite-template/)
|
[](https://cn.vuejs.org/guide/quick-start)
|
||||||

|
[](https://www.vitejs.net/guide/)
|
||||||
[](https://github.com/vuejs/vue-next)
|
[](https://cn.element-plus.org/zh-CN/)
|
||||||
[](https://github.com/vitejs/vite)
|
[](https://www.electronjs.org/zh/docs/latest/tutorial/quick-start)
|
||||||
[](https://www.npmjs.org/package/element-plus)
|
[](https://gitea.hiluker.com/fm453/hi-sass-frame/src/branch/main/LICENSE)
|
||||||
[](https://github.com/electron/electron)
|
|
||||||
[](https://github.com/umbrella22/electron-vite-template/blob/master/LICENSE)
|
|
||||||
|
|
||||||
# Installation
|
|
||||||
|
|
||||||
You can choose to clone the project or fork repository, or download the zip file directly. It is recommended to clone the repository so that you can receive the latest patches.
|
---
|
||||||
|
### 请确保您的 node 版本大于等于 18.
|
||||||
To run a project, you need to have **node version 18** or higher and **use npm as your dependency management tool**
|
- vue3.*等版本,要求node.js版本高于18
|
||||||
|
|
||||||
[Document (Chinese only)](https://umbrella22.github.io/electron-vue-template-doc/)
|
|
||||||
|
|
||||||
[For Chinese Developers](/README_ZH.md)
|
|
||||||
|
|
||||||
[](https://github.com/umbrella22/electron-vite-template/actions/workflows/Build.yml)
|
|
||||||
|
|
||||||
# Build Setup
|
|
||||||
|
|
||||||
|
#### 如何安装
|
||||||
|
- 推荐使用yarn安装(我开发过程用的是yarn来管理包)
|
||||||
```bash
|
```bash
|
||||||
# Clone this repository
|
yarn
|
||||||
$ git clone https://github.com/umbrella22/electron-vite-template.git
|
#或者
|
||||||
# Go into the repository
|
yarn add
|
||||||
$ cd electron-vite-template
|
```
|
||||||
# install dependencies
|
- 如果你要用npm,可参考下方,使用淘宝镜像源,速度可能会快一些)
|
||||||
$ npm install
|
```bash
|
||||||
|
npm config edit
|
||||||
# serve with hot reload at localhost:9080
|
# 该命令会打开npm的配置文件,请在空白处添加
|
||||||
$ npm run dev
|
# registry=https://registry.npmmirror.com
|
||||||
|
# ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
|
||||||
# build electron application for production
|
# ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/
|
||||||
$ npm run build
|
# 然后关闭该窗口,重启命令行.
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
# 运行脚本
|
||||||
|
```bash
|
||||||
|
# 启动之后,会在9080端口监听
|
||||||
|
npm run dev
|
||||||
|
|
||||||
|
# build命令在不同系统环境中,需要的的不一样,需要自己根据自身环境进行配置
|
||||||
|
# 具体可在package.json中查阅
|
||||||
|
npm run build
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
# [文件目录说明](DIR.md)
|
||||||
# Function list
|
# [更新日志](./CHANGELOG.md)
|
||||||
|
|
||||||
[x] Auto update
|
|
||||||
[x] Incremental update
|
|
||||||
[x] Loading animation before startup
|
|
||||||
[x] i18n
|
|
||||||
|
|
||||||
# Built-in
|
|
||||||
|
|
||||||
- [vue-router](https://next.router.vuejs.org/index.html)
|
|
||||||
- [pinia](https://pinia.esm.dev/)
|
|
||||||
- [electron](http://www.electronjs.org/docs)
|
|
||||||
- electron-updater
|
|
||||||
- typescript
|
|
||||||
|
|
||||||
# Note
|
|
||||||
|
|
||||||
- [gitee](https://gitee.com/Zh-Sky/electron-vite-template) is only for domestic users to pull code,from github to synchronize,please visit github for PR
|
|
||||||
- **Welcome to Issues and PR**
|
|
||||||
|
31
README_ZH.md
31
README_ZH.md
@ -1,19 +1,24 @@
|
|||||||
# Electron-Vite-template
|
# Hi-Sass-Frame
|
||||||
|
|
||||||

|
[](https://cn.vuejs.org/guide/quick-start)
|
||||||
[](https://github.com/vuejs/vue-next)
|
[](https://www.vitejs.net/guide/)
|
||||||
[](https://github.com/vitejs/vite)
|
[](https://cn.element-plus.org/zh-CN/)
|
||||||
[](https://www.npmjs.org/package/element-plus)
|
[](https://www.electronjs.org/zh/docs/latest/tutorial/quick-start)
|
||||||
[](https://github.com/electron/electron)
|
[](https://gitea.hiluker.com/fm453/hi-sass-frame/src/branch/main/LICENSE)
|
||||||
[](https://github.com/umbrella22/electron-vite-template/blob/master/LICENSE)
|
|
||||||
|
|
||||||
[国内访问地址](https://gitee.com/Zh-Sky/electron-vite-template)
|
|
||||||
|
|
||||||
---
|
---
|
||||||
### 请确保您的 node 版本大于等于 16.
|
### 请确保您的 node 版本大于等于 18.
|
||||||
|
- vue3.*等版本,要求node.js版本高于18
|
||||||
|
|
||||||
#### 如何安装
|
#### 如何安装
|
||||||
|
- 推荐使用yarn安装(我开发过程用的是yarn来管理包)
|
||||||
|
```bash
|
||||||
|
yarn
|
||||||
|
#或者
|
||||||
|
yarn add
|
||||||
|
```
|
||||||
|
- 如果你要用npm,可参考下方,使用淘宝镜像源,速度可能会快一些)
|
||||||
```bash
|
```bash
|
||||||
npm config edit
|
npm config edit
|
||||||
# 该命令会打开npm的配置文件,请在空白处添加
|
# 该命令会打开npm的配置文件,请在空白处添加
|
||||||
@ -21,13 +26,15 @@ npm config edit
|
|||||||
# ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
|
# ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
|
||||||
# ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/
|
# ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/
|
||||||
# 然后关闭该窗口,重启命令行.
|
# 然后关闭该窗口,重启命令行.
|
||||||
# 使用yarn安装
|
|
||||||
npm install
|
npm install
|
||||||
|
```
|
||||||
|
# 运行脚本
|
||||||
|
```bash
|
||||||
# 启动之后,会在9080端口监听
|
# 启动之后,会在9080端口监听
|
||||||
npm run dev
|
npm run dev
|
||||||
|
|
||||||
# build命令在不同系统环境中,需要的的不一样,需要自己根据自身环境进行配置
|
# build命令在不同系统环境中,需要的的不一样,需要自己根据自身环境进行配置
|
||||||
|
# 具体可在package.json中查阅
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user