主要版本
This commit is contained in:
29
README.md
Normal file
29
README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Vite Electron Typescript Template
|
||||
|
||||
`vite 2` `vue 3` `electron 12`
|
||||
|
||||
## How to use
|
||||
clone the repo via git and install dependencies:
|
||||
```shell
|
||||
git clone --depth 1 --single-branch https://github.com/hocili/vite-electron-typescript-template.git your-project-name
|
||||
cd your-project-name
|
||||
yarn
|
||||
```
|
||||
|
||||
## Starting Development
|
||||
Start the app in the `dev` environment:
|
||||
```shell
|
||||
yarn dev
|
||||
```
|
||||
|
||||
```shell
|
||||
yarn electron:dev
|
||||
```
|
||||
## Packaging for Production
|
||||
To package apps for the local platform:
|
||||
```shell
|
||||
yarn electron:build
|
||||
```
|
||||
|
||||
## TODO
|
||||
1. 使用web serial api实现串口数据接收
|
||||
Reference in New Issue
Block a user