Sorry that the upgrade to Vue 3 screwed your styles a bit, but I've got to agree with the GP that this is something that should have always been done with CSS.
You should not rely on any framework or bundler to return identical HTML code to the input, especially when it comes to whitespace which is entirely optional in most web technologies. I would really hope that this change doesn't get reverted to the way Vue 2 works.
Just as a heads up, a very minimal navbar type styling would look something like: jsfiddle.net/Lxr7h65t/
By relying on CSS for all presentation, you get the same visual result regardless of whitespace in either your HTML or CSS
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry that the upgrade to Vue 3 screwed your styles a bit, but I've got to agree with the GP that this is something that should have always been done with CSS.
You should not rely on any framework or bundler to return identical HTML code to the input, especially when it comes to whitespace which is entirely optional in most web technologies. I would really hope that this change doesn't get reverted to the way Vue 2 works.
Just as a heads up, a very minimal navbar type styling would look something like: jsfiddle.net/Lxr7h65t/
By relying on CSS for all presentation, you get the same visual result regardless of whitespace in either your HTML or CSS