Download the public scaffold archive with curl instead of GitHub CLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
bql
2026-10-27 23:15:11 +08:00
parent 9574f5d7f1
commit 7b8e9f0f6f
2 changed files with 9 additions and 12 deletions

View File

@@ -10,10 +10,10 @@ React 应用脚手架。创建新项目时,包名、源码和 `src` 下文件
## 创建项目
需要 Node.js,以及已登录的 GitHub CLI(`gh auth login`)。
需要 Node.js 和 curl。
```bash
curl -fsSL https://raw.githubusercontent.com/bql-691/bq_react/v0.1.0/scripts/create.sh | bash -s -- shop
curl -fsSL https://raw.githubusercontent.com/bql-691/bq_react/v0.1.1/scripts/create.sh | bash -s -- shop
```
这会在当前目录生成 `shop`,并执行 `npm install`。