更新主题开发说明 (#100)

This commit is contained in:
UUBulb
2024-10-09 18:41:10 +02:00
committed by GitHub
parent 26cb183d68
commit 7c2b123c4e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
哪吒面板提供了主题开发环境,你可以使用它来创建新的哪吒监控主题
::: warning
请注意: 此开发环境仅支持 `dashboard v0.13.16` 及更新版本。
请注意: 此开发环境仅支持 `dashboard v0.19.11` 及更新版本。
:::
## 使用说明
@@ -11,7 +11,7 @@
2. 修改 `data/config.yaml` 中的 Oauth2 配置(回调连接可以填 `http://localhost`
3. 运行 `docker-compose up`
4. 开始开发
5. 主题制作完成之后可以将 `theme-custom` 放置到服务器上的 `/opt/nezha/dashboard/theme-custom` 位置
5. 主题制作完成之后可以将 `theme-custom`(前台主题)、`static-custom`(前台主题静态文件) 和 `dashboard-custom`(后台主题) 放置到服务器上的 `/opt/nezha/dashboard/` 中(如使用 Docker 安装)
## FAQ