How to integrate Unity web page

For some parts of my vaadin flow app i would like to add a unity web project that i put inside my frontend folder. I tried opening the index.html of this unity project with IFrame. But so far it didnt work (routing problem). Any advise on how to manage to get this done? Thanks in advance

It seems frontend folder is wrong for this? main resources at least shows a page with an error.