# Custom Components Javascript Tab

**URL:** <https://forums.realmacsoftware.com/t/custom-components-javascript-tab/47387>\
**Category:** Elements\
**Created:** [May 3, 2025, 7:05pm UTC](https://forums.realmacsoftware.com/t/custom-components-javascript-tab/47387 "2025-05-03T19:05:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HalGumbert](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/halgumbert/32/28819_2.png) [@HalGumbert](https://forums.realmacsoftware.com/u/HalGumbert)\
**Post date:** [May 3, 2025, 7:05pm UTC](https://forums.realmacsoftware.com/t/custom-components-javascript-tab/47387/1 "2025-05-03T19:05:15Z")

</div>

When put some JS in the Custom Components JS Tab, it doesn’t seem to be included or processed.. But when I put the same JS in the Template within script tags it works…

What does the Javascript tab intended for?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [May 4, 2025, 2:37pm UTC](https://forums.realmacsoftware.com/t/custom-components-javascript-tab/47387/2 "2025-05-04T14:37:57Z")

</div>

It should be output, so this sounds like a bug to me!

I’m going to dig into this shortly and will let you know what’s going on. Of course, if it’s a bug, we’ll get it fixed as soon as possible.

If you’re building a custom component, you might want to consider moving it to a [DevPack](https://docs.realmacsoftware.com/elements-docs/elements-language/api-introduction/getting-started) as that definitely works and is a lot more flexible!

---

<div class="post-metadata">

**Author:** ![HalGumbert](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/halgumbert/32/28819_2.png) [@HalGumbert](https://forums.realmacsoftware.com/u/HalGumbert)\
**Post date:** [May 4, 2025, 3:49pm UTC](https://forums.realmacsoftware.com/t/custom-components-javascript-tab/47387/3 "2025-05-04T15:49:14Z")

</div>

I’ll check out DevPack… I’m brand new to [Elements](https://elementsapp.io/) and learing to get around after using RW for years…

Thank you!

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [May 5, 2025, 5:29pm UTC](https://forums.realmacsoftware.com/t/custom-components-javascript-tab/47387/4 "2025-05-05T17:29:45Z")

</div>

Okay, I’ve looked into this and it is indeed a bug. Currently, no JS is being exported for custom components. We’ll get this fixed for this week’s build.

In the meantime, you can use an external DevPack (as the JS in those should still work).

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [May 8, 2025, 4:10pm UTC](https://forums.realmacsoftware.com/t/custom-components-javascript-tab/47387/5 "2025-05-08T16:10:38Z")

</div>

@HalGumbert Good news! This has now been added in [the latest build, 0.8.0](https://forums.realmacsoftware.com/t/elements-0-8-0-23540/47466/1)!
