更新主题开发说明 (#100)
This commit is contained in:
parent
26cb183d68
commit
7c2b123c4e
@ -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
|
||||
|
||||
|
@ -11,7 +11,7 @@ Please note: This development environment only supports `dashboard v0.13.16` and
|
||||
2. Modify the Oauth2 configuration in `data/config.yaml`(The callback connection can be filled with `http://localhost`)
|
||||
3. Run `docker-compose up`
|
||||
4. Start development
|
||||
5. Once the theme has been created, you can place `theme-custom` in `/opt/nezha/dashboard/theme-custom` on the server
|
||||
5. After completing the theme creation, you can place `theme-custom` (frontend theme), `static-custom` (frontend theme static files), and `dashboard-custom` (backend theme) into the `/opt/nezha/dashboard/` directory on the server (if installed using Docker).
|
||||
|
||||
## FAQ
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user