If I hide a pane with <v-if>, the child component is destroyed in a similar way to <router-view>. I need it caching so the pane is hidden and shown again in its last state (with a button toggle). I tried placing <keep-alive> around the pane but this messed up the view. Is there a way this can be done?
If I hide a pane with
<v-if>
, the child component is destroyed in a similar way to<router-view>
. I need it caching so the pane is hidden and shown again in its last state (with a button toggle). I tried placing<keep-alive>
around the pane but this messed up the view. Is there a way this can be done?