Skip to content

Commit 25fc743

Browse files
committed
update: readme
1 parent 35c5fe3 commit 25fc743

File tree

2 files changed

+13
-44
lines changed

2 files changed

+13
-44
lines changed

README-zh_CN.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,38 +14,22 @@
1414
<summary><strong>网页版</strong></summary>
1515
<br />
1616

17-
1. 下载项目代码。
18-
1917
```bash
18+
# 1. 下载项目代码
2019
git clone https://github.com/VickScarlet/lifeRestart.git my-project
21-
cd my-project
22-
```
23-
24-
2. 进入目录安装依赖。
2520

26-
```bash
21+
# 2. 进入目录安装依赖
22+
cd my-project
2723
pnpm install
28-
```
29-
30-
或者
3124

32-
```bash
33-
npm install
34-
```
25+
# 3. 转换XLSX表
26+
pnpm xlsx2json
3527

36-
3. 启动本地服务器。
37-
38-
```bash
28+
# 4. 启动本地开发服务器
3929
pnpm dev
4030
```
4131

42-
或者
43-
44-
```bash
45-
npm run dev
46-
```
47-
48-
4. 启动完成后会自动打开浏览器访问 [http://localhost:5173](http://localhost:5173)
32+
启动完成后打开浏览器访问 [http://localhost:5173](http://localhost:5173)
4933

5034
</details>
5135

README.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,38 +14,23 @@ English | [简体中文](./README-zh_CN.md)
1414
<summary><strong>Web Version</strong></summary>
1515
<br />
1616

17-
1. Clone project code.
1817

1918
```bash
19+
# 1. Clone project code.
2020
git clone [email protected]:VickScarlet/lifeRestart.git my-project
2121
cd my-project
22-
```
23-
24-
2. Installation dependence.
2522

26-
```bash
23+
# 2. Installation dependence.
2724
pnpm install
28-
```
2925

30-
Or
31-
32-
```bash
33-
npm install
34-
```
26+
# 3. Transform XLSX
27+
pnpm xlsx2json
3528

36-
3. Start local server.
37-
38-
```bash
29+
# 4. Start local dev server.
3930
pnpm dev
4031
```
4132

42-
Or
43-
44-
```bash
45-
npm run dev
46-
```
47-
48-
4. After the startup is complete, open a browser and visit [http://localhost:5173](http://localhost:5173).
33+
After the startup is complete, open a browser and visit [http://localhost:5173](http://localhost:5173).
4934
</details>
5035

5136
<details>

0 commit comments

Comments
 (0)