docs: update readme

This commit is contained in:
JustSong
2024-01-01 21:14:45 +08:00
parent 92886093ae
commit 4a96031ce6
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
> 每个文件夹代表一个主题,欢迎提交你的主题
## 提交新的主题
> 欢迎在页面底部保留你和 One API 的版权信息以及指向链接
1.`web` 文件夹下新建一个文件夹,文件夹名为主题名。
2. 把你的主题文件放到这个文件夹下。
3. 修改 `package.json` 文件,把 `build` 命令改为:`"build": "react-scripts build && mv -f build ../build/default"`,其中 `default` 为你的主题名。