# 在组件中，如何找出论坛的基本 URI？

**URL:** <https://meta.discourse.org/t/in-a-component-how-do-i-find-out-the-base-uri-of-the-forum/370106>\
**Category:** Development\
**Created:** [2025年六月13日 17:29 UTC](https://meta.discourse.org/t/in-a-component-how-do-i-find-out-the-base-uri-of-the-forum/370106 "2025-06-13T17:29:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2025年六月13日 17:33 UTC](https://meta.discourse.org/t/in-a-component-how-do-i-find-out-the-base-uri-of-the-forum/370106/2 "2025-06-13T17:33:13Z")

</div>

我想你可能在找这个功能，它还没有合并

> [@How do I add links to site settings into the settings description of my component?](https://meta.discourse.org/t/how-do-i-add-links-to-site-settings-into-the-settings-description-of-my-component/368531/3?u=lilly):
>
> Once this PR is merged, you’ll be able to use %{base\_path} in theme setting descriptions:

---

_[View the full topic](https://meta.discourse.org/t/in-a-component-how-do-i-find-out-the-base-uri-of-the-forum/370106)._
