0👍
✅
Just use the <KeepAlive>
component so that dynamic components are not unmounted.
<template>
<KeepAlive>
<component :is="currentStep" />
</KeepAlive>
</template>
Source:stackexchange.com