update: readme

This commit is contained in:
Vick Scarlet
2025-04-05 18:26:55 +08:00
parent 35c5fe36fb
commit 25fc74398a
2 changed files with 13 additions and 44 deletions

View File

@@ -14,38 +14,22 @@
<summary><strong>网页版</strong></summary> <summary><strong>网页版</strong></summary>
<br /> <br />
1. 下载项目代码。
```bash ```bash
# 1. 下载项目代码
git clone https://github.com/VickScarlet/lifeRestart.git my-project git clone https://github.com/VickScarlet/lifeRestart.git my-project
# 2. 进入目录安装依赖
cd my-project cd my-project
```
2. 进入目录安装依赖。
```bash
pnpm install pnpm install
```
或者 # 3. 转换XLSX表
pnpm xlsx2json
```bash # 4. 启动本地开发服务器
npm install
```
3. 启动本地服务器。
```bash
pnpm dev pnpm dev
``` ```
或者 启动完成后打开浏览器访问 [http://localhost:5173](http://localhost:5173)。
```bash
npm run dev
```
4. 启动完成后会自动打开浏览器访问 [http://localhost:5173](http://localhost:5173)。
</details> </details>

View File

@@ -14,38 +14,23 @@ English | [简体中文](./README-zh_CN.md)
<summary><strong>Web Version</strong></summary> <summary><strong>Web Version</strong></summary>
<br /> <br />
1. Clone project code.
```bash ```bash
# 1. Clone project code.
git clone git@github.com:VickScarlet/lifeRestart.git my-project git clone git@github.com:VickScarlet/lifeRestart.git my-project
cd my-project cd my-project
```
2. Installation dependence. # 2. Installation dependence.
```bash
pnpm install pnpm install
```
Or # 3. Transform XLSX
pnpm xlsx2json
```bash # 4. Start local dev server.
npm install
```
3. Start local server.
```bash
pnpm dev pnpm dev
``` ```
Or After the startup is complete, open a browser and visit [http://localhost:5173](http://localhost:5173).
```bash
npm run dev
```
4. After the startup is complete, open a browser and visit [http://localhost:5173](http://localhost:5173).
</details> </details>
<details> <details>