docs: update Usage

This commit is contained in:
草鞋没号 committed 2022-03-13 08:45:27 +08:00
1 parent 2c67dc62a3
commit 2e319c8b98
2 files changed
+19 -3

No files matched your search

+10 -2
View File
@@ -15,9 +15,17 @@
- The extension is very flexible. - The extension is very flexible.
## Installation ## Usage
```bash - The first way is to use scaffolding
```sh
npm create electron-vite
```
- The second way is to clone the repository manually
```sh
# clone the project # clone the project
git clone https://github.com/caoxiemeihao/vite-react-electron.git git clone https://github.com/caoxiemeihao/vite-react-electron.git
+9 -1
View File
@@ -17,7 +17,15 @@
## 运行 ## 运行
```bash - 第一种方式是通过脚手架
```sh
npm create electron-vite
```
- 第二种方式是通过 clone 该仓库
```sh
# clone the project # clone the project
git clone https://github.com/caoxiemeihao/vite-react-electron.git git clone https://github.com/caoxiemeihao/vite-react-electron.git