0👍
For your use case, I think having dialogs or any other component (tabs, etc) would simply work when using v-if
and v-show
. You can use v-show for the ones you want to keep in DOM and v-if for the ones you want to destroy after the user is closing them.
See the documentation about the difference between v-if
and v-show
here.
Source:stackexchange.com