Merge branch 'main' of github.com:hocili/vite-electron-typescript-template

master
hocili 2021-03-10 18:02:15 +08:00
commit 0e41b3c616
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
``` ```