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

View File

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