# 如何在 VanillaJS 中访问跟踪的变量？

**URL:** https://meta.discourse.org/t/access-tracked-variables-in-vanillajs/354313
**Category:** Development
**Created:** [2025年二月25日 05:17 UTC](https://meta.discourse.org/t/access-tracked-variables-in-vanillajs/354313 "2025-02-25T05:17:21Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2025年二月25日 17:41 UTC](https://meta.discourse.org/t/access-tracked-variables-in-vanillajs/354313/8 "2025-02-25T17:41:17Z")

</div>

> [@Arkshine](#):
>
> 查看 Discourse 源代码是个好主意。那里有现成的代码可以学习。

另请参阅 [GitHub - discourse/all-the-plugins](https://github.com/discourse/all-the-plugins) 和 [GitHub - discourse/all-the-themes](https://github.com/discourse/all-the-themes)

---

_[View the full topic](https://meta.discourse.org/t/access-tracked-variables-in-vanillajs/354313)._
