I am working on [email protected] version. I trying to use v-if, v-else-if..... but not work.
Example:
<div v-if="type === 'A'">
A
</div>
<div v-else-if="type === 'B'">
B
</div>
<div v-else-if="type === 'C'">
C
</div>
<div v-else>
Not A/B/C
</div>
It prints all condition values.
Does vuejs support v-elseif blocks in version 1?
v-else-if