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,6 +1,6 @@
{{app-name}} 开发文档
my-app 开发文档
本文档面向 `{{app-name}}` 项目的开发者,介绍项目结构、前后端架构、构建流程、测试、代码规范等内容。
本文档面向 `my-app` 项目的开发者,介绍项目结构、前后端架构、构建流程、测试、代码规范等内容。
用户使用说明请参阅 [README.md](README.md)。
@@ -233,7 +233,7 @@ main.tsx
hooks/use-theme-preference.ts浏览器 UI 偏好)
├── ThemePreference: system / light / darkRadioGroup 受控值)
├── EffectiveTheme: light / dark写入 document.documentElement theme-mode
├── localStorage key: {{app-name}}.theme.preference同一浏览器记忆
├── localStorage key: my-app.theme.preference同一浏览器记忆
└── matchMedia("(prefers-color-scheme: dark)")(系统模式下跟随系统明暗变化)
```