Commit 1ab4430
committed
fix: 添加public目录(React项目必需)
�� 修复问题:
- 取消忽略 public/ 目录
- 添加 public/index.html 到仓库
- 修正 .gitignore 配置
📝 说明:
- public/ 目录包含 index.html,是React应用的入口
- Gatsby 项目会忽略 public/,但 Create React App 项目需要它
- .env 文件保持忽略状态(仅用于本地开发)1 parent 6594e17 commit 1ab4430
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments