My index.html contains some imports like <script defer src="xyz.js"></script>
. The xyz.js is a static file resource and is served correctly.
But when I added a react view in frontend/views the delivered index.html will be changed src="/VAADIN/xyz.js"
. The file will not be found.
This happens only in dev mode. When removing the views
completely, it works again.
Why does it add this prefix in Flow-Hilla hybrid mode? Can I prevent it? Thanks for your help.
Using Vaadin 24.5.3