From cd0f4c67c0b1d7d688f201ff3161b03fb17ea406 Mon Sep 17 00:00:00 2001 From: sean Date: Fri, 23 May 2025 16:55:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0`README.md`=E6=96=87=E6=A1=A3?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA=E8=AF=8D=E9=9B=86?= =?UTF-8?q?=E6=88=90=E6=96=B9=E5=BC=8F=E7=9A=84=E6=8F=8F=E8=BF=B0=EF=BC=8C?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=85=8B=E9=9A=86=E9=93=BE=E6=8E=A5=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E5=88=A0=E9=99=A4Git=20Submodule=E7=9A=84=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E5=86=85=E5=AE=B9=EF=BC=8C=E4=BB=A5=E7=AE=80=E5=8C=96?= =?UTF-8?q?=E9=9B=86=E6=88=90=E6=B5=81=E7=A8=8B=EF=BC=8C=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 002c581..fa9f438 100644 --- a/README.md +++ b/README.md @@ -10,27 +10,19 @@ - Node.js (建议版本 >= 14.0.0) + PromptX是一个提示词框架,可以通过以下方式集成到您的项目中: -#### 方式一:直接拷贝 +#### 将提示词项目整个拷贝到要集成的项目下 ```bash # 下载或克隆PromptX -git clone https://github.com/yourusername/PromptX.git +git clone https://github.com/Deepractice/PromptX.git # 将PromptX目录拷贝到您的项目中 cp -r PromptX /path/to/your/project/ ``` -#### 方式二:Git Submodule(推荐) - -```bash -# 在您的项目根目录下添加PromptX作为submodule -git submodule add https://github.com/yourusername/PromptX.git PromptX - -# 初始化和更新submodule -git submodule update --init --recursive -``` ### 基本使用