Update README.md

master
Hocili 2021-03-09 18:50:50 +08:00 committed by GitHub
parent da802dd8fb
commit 2d6d53e470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 3 deletions

View File

@ -2,8 +2,16 @@
`vite 2` `vue 3` `electron 12` `vite 2` `vue 3` `electron 12`
## dev ## 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 ```shell
yarn dev yarn dev
``` ```
@ -11,8 +19,8 @@ yarn dev
```shell ```shell
yarn electron:dev yarn electron:dev
``` ```
## build ## Packaging for Production
To package apps for the local platform:
```shell ```shell
yarn electron:build yarn electron:build
``` ```