I am trying to create a Custom UI Forge app according to the tutorial:
https://developer.atlassian.com/platform/forge/custom-ui/
However, whatever javascript I define in my static/.../index.html file is not executed.
I cannot even execute a simple script such as <html> <script> alert('Hello') </script> </html>
The HTML and css parts are displayed nicely, but javascript is not being executed. I also tried to create a buttom that alerts or toggles on click, the outcome is the same.
Is this some limitation of Forge not limited in the documentation?
Thanks!
So it turns out that if React is part of the Custom UI - the basic template includes React - then `react-scripts build` and other commands like that will need to be run.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.