Update README.md
parent
da802dd8fb
commit
2d6d53e470
14
README.md
14
README.md
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue