refactor: 模板占位符从 {{app-name}} 改为 my-app

This commit is contained in:
2026-05-20 14:15:14 +08:00
parent e2bf594719
commit 4a38d4dac7
12 changed files with 19 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
# {{app-name}}
# my-app
(替换为你的项目介绍)
@@ -25,9 +25,9 @@ cd my-project
rm -rf .git && git init
```
### 2. 替换占位符 `{{app-name}}`
### 2. 替换占位符 `my-app`
在整个项目中全局搜索替换 `{{app-name}}` 为你的项目名称(如 `my-app`)。以下为所有出现位置:
在整个项目中全局搜索替换 `my-app` 为你的项目名称(如 `your-project`)。以下为所有出现位置:
| # | 文件 | 说明 |
| --- | --------------------------------------- | ------------------------------------------ |
@@ -41,7 +41,7 @@ rm -rf .git && git init
| 8 | `src/web/hooks/use-theme-preference.ts` | `localStorage` 键名 |
| 9 | `tests/web/App.test.tsx` | 测试中的品牌名断言 |
> **提示**:可直接在编辑器中全局搜索 `{{app-name}}`,一次性替换。
> **提示**:可直接在编辑器中全局搜索 `my-app`,一次性替换。
### 3. 清理 OpenSpec 历史