mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2025-07-13 15:52:44 +08:00
update: readme
This commit is contained in:
@ -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>
|
||||
|
||||
|
27
README.md
27
README.md
@ -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>
|
||||
|
Reference in New Issue
Block a user