# 如何在discourse UI中集成自定义插件

**URL:** <https://meta.discourse.org/t/how-to-integrate-a-custom-plugin-in-discourse-ui/351629>\
**Category:** Development\
**Created:** [2025年二月11日 12:31 UTC](https://meta.discourse.org/t/how-to-integrate-a-custom-plugin-in-discourse-ui/351629 "2025-02-11T12:31:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Elizeo\_Rocha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elizeo_rocha/32/485602_2.png) [@Elizeo\_Rocha](https://meta.discourse.org/u/Elizeo_Rocha)\
**Post date:** [2025年二月11日 12:31 UTC](https://meta.discourse.org/t/how-to-integrate-a-custom-plugin-in-discourse-ui/351629/1 "2025-02-11T12:31:30Z")

</div>

我正在为我的 Discourse 实例开发一个新插件。虽然插件本身运行良好，但在将其集成到 Discourse UI 时遇到了一些困难。我已经查阅了可用的[文档](https://meta.discourse.org/t/developing-discourse-plugins-part-2-connect-to-a-plugin-outlet/31001)，但其中一些部分对我来说仍然不清楚。由于我刚接触这个领域，因此非常感谢您能提供一份详细的分步指南，介绍如何将插件添加到 UI 中。即使是一个简单的示例（例如一个醒目的“黄色框”）也能帮助我理解这个过程。

感谢您的帮助！

---

_[View the full topic](https://meta.discourse.org/t/how-to-integrate-a-custom-plugin-in-discourse-ui/351629)._
