From 25fc74398a3296fd8c7d5dd788f11664c437f8e5 Mon Sep 17 00:00:00 2001 From: Vick Scarlet Date: Sat, 5 Apr 2025 18:26:55 +0800 Subject: [PATCH] update: readme --- README-zh_CN.md | 30 +++++++----------------------- README.md | 27 ++++++--------------------- 2 files changed, 13 insertions(+), 44 deletions(-) diff --git a/README-zh_CN.md b/README-zh_CN.md index d23330f..e44f7f5 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -14,38 +14,22 @@ 网页版
-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)。 diff --git a/README.md b/README.md index d1bdffb..8494368 100644 --- a/README.md +++ b/README.md @@ -14,38 +14,23 @@ English | [简体中文](./README-zh_CN.md) Web Version
-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).