Separation of UI and Logic into separate files

I am learning Vue 3 from scratch and I noticed that both the UI and Logic code are in the same file. With a complex (large) form there would be lot’s of UI and Logic code. Is this normal in Vue or is it better to separate the UI in one file and the Logic code in a separate file?

Thank you