Good evening, I am trying to load a Unity game onto a simple vaadin 14 application. However, none of my attempts load the javascript files. In my first attempt (image 1) I use the @JavaScript Tag and receive an Uncaught ReferenceError: Unity Loader is not defined (Image 2). In my second attempt (Image 3) I try modifying the inner html and add the javascript files that way, however I am unsure as how to reference the javascript files as referencing them from the frontend folder doesn’t seem to be working. Any help would be great thankyou.
*The images seem to be in random order, however the description should tell you which ones are for each attempt.