> For the complete documentation index, see [llms.txt](https://docs.chamilo.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chamilo.org/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/frontend.md).

# 前端开发

Chamilo 2.0 的前端是一个基于 Vue 3 的单页应用程序（SPA），通过 REST API 与后端进行通信。

* [**Vue 组件**](/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/frontend/vue-components.md) — 位于 `assets/vue/components/` 的可重用组件
* [**视图与路由**](/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/frontend/views-and-routing.md) — 位于 `assets/vue/views/` 的页面视图及 Vue Router 配置
* [**状态管理**](/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/frontend/state-management.md) — 用于应用状态的 Pinia 存储
* [**构建系统**](/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/frontend/build-system.md) — Webpack Encore、Tailwind 以及构建流程


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.chamilo.org/2.x-zh-cn/kai-fa-zhe-zhi-nan/developer-guide/frontend.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.
