I have a block of code that I am working with:
<div>
<b-card no-body>
<b-tabs pills card vertical no-key-nav v-model="step">
<b-tab title="Subject" v-for="animal in animals" :key="animal" v-show="animal=1">
<b-card-text>
<enrollment-form>
</enrollment-form>
</b-card-text>
</b-tab>
</b-tabs>
</b-card>
</div>
My goal is to display one component at a time, but currently all tabs are being rendered simultaneously. I had planned to use buttons to increment the "step" value as input is received.
EDIT
Data provided below
data: () => {
return {
step: 2,
animals: Array(3),
}
},