# 自定义前端

默认情况下，Cloudreve 会使用内置的静态资源文件，包括 HTML 文档、JS 脚本、CSS、图像资源等。如果您需要使用自己个性化修改后的静态资源，请将[前端仓库](https://github.com/cloudreve/frontend)编译编译得到的`build` 目录重命名为`statics` 并置于 Cloudreve 同级目录下，重启 Cloudreve 后生效。

有关前端仓库的构建流程，请参阅以下章节：

{% content-ref url="/pages/-M2GxI0i-XWQfstBtnTW" %}
[构建](/getting-started/build.md)
{% endcontent-ref %}

{% hint style="warning" %}
请使用与 Cloudreve 主程序版本一致的前端仓库构建，您可以在所使用的 Cloudreve 主仓库的`assets` 子模块找到对应的前端仓库版本。

Pro 版本的前端资源与社区版本不能互相通用。
{% endhint %}

您可以在启动 Cloudreve 时加上`eject` 命令行参数，将内置的静态资源提取到`statics` 目录下：

```bash
./cloudreve -eject
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docsv3.cloudreve.org/use/zi-ding-yi-qian-duan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
