浏览代码

docs: add create-lithe

nian 1 月之前
父节点
当前提交
df7ccf49d4
共有 2 个文件被更改,包括 16 次插入22 次删除
  1. 9 14
      README.en_US.md
  2. 7 8
      README.md

+ 9 - 14
README.en_US.md

@@ -35,21 +35,20 @@ English | [简体中文](https://github.com/tenianon/lithe-admin/blob/main/READM
 - **Node.js**: `^20.19.0` or `>=22.12.0`
 - **Package Manager**: `pnpm` (recommended), or `npm`, or `yarn`
 
-### Clone the project
+### Create project
 
 ```bash
-git clone https://github.com/tenianon/lithe-admin.git
+# Using pnpm (recommended)
+pnpm create lithe-admin@latest
 ```
-
-### Lite version
-
-Branch address [lite](https://github.com/tenianon/lithe-admin/tree/lite), the **lite version** does not include routing pages, only preserving the basic page structure
-
 ```bash
-git clone -b lite https://github.com/tenianon/lithe-admin.git
+# Or npm
+npm create lithe-admin@latest
+```
+```bash
+# Or yarn
+yarn create lithe-admin@latest
 ```
-
-
 
 ### Install Dependencies
 
@@ -125,7 +124,3 @@ The `ph` prefix needs to be configured in `src/assets/base.css`. Refer to the of
   scale: 1.2;
 }
 ```
-
-## 📄 License
-
-This project is licensed under the terms of the [MIT License](./LICENSE).

+ 7 - 8
README.md

@@ -35,18 +35,17 @@
 - **Node.js**: `^20.19.0` 或 `>=22.12.0`
 - **包管理器**: `pnpm` (推荐) 或 `npm` 或 `yarn`
 
-### 克隆项目
+### 创建项目
 
 ```bash
-git clone https://github.com/tenianon/lithe-admin.git
-```
-
-### 精简版
+# 使用 pnpm 创建项目(推荐)
+pnpm create lithe-admin@latest
 
-分支地址 [lite](https://github.com/tenianon/lithe-admin/tree/lite),**精简版**不包含路由页面,只保留了页面的基本结构
+# 或使用 npm 创建项目
+npm create lithe-admin@latest
 
-```bash
-git clone -b lite https://github.com/tenianon/lithe-admin.git
+# 或使用 yarn 创建项目
+yarn create lithe-admin@latest
 ```
 
 ### 安装依赖