Should I use Vaadin or JS to build a website?

So, I am working on a project where I will have users interacting with my website. My website will use Mapbox, SQL, and possibly PHP.

So far I have built a prototype in vaadin because building the UI was faster than CSS for me. Now, I want to move onto the stage where I actually publish this site; however, I am not sure whether or not I should re-build it with JS/HTML/CSS or improve upon the vaadin/java code that I have written so far.

Would any of you, experienced industry professionals, have a suggestion for me?

Thank you in advance.

Never heard of Vaadin.

For modern websites you need JS. I don’t know how Vaadin is using it, but if you decide to use a JS Framework / Library like Svelte, Vue or React, you will more controll over it.

I can recommend you the JAMstack (which stands for Javascript + APIs + Markdown). This means you will create a static frontend with HTML, CSS and JS (with one of the mentioned JS frameworks for example) and then you interact with a backend (nodejs (Fastify) for example). No need to use PHP or Java.