0👍
To reduce branching and v-if
usage, you can use dynamic components.
For example, your forms could be dynamic components. That said, I think there’s plenty of cases where displaying different things based on a boolean value in a v-if
is just fine.
You might also want to look into Vue-Router and its nested routes feature.
Source:stackexchange.com