Custom Components Javascript Tab

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?

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 as that definitely works and is a lot more flexible!

1 Like

I’ll check out DevPack… I’m brand new to Elements and learing to get around after using RW for years…

Thank you!

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).

1 Like

@HalGumbert Good news! This has now been added in the latest build, 0.8.0!