I use Vue js conditional statements in multiple elements.
In some cases, i need to place if and else in same element to filter the elements.
Here,i use multiple elements to apply if and else.
<block v-if="nb == 3" align="left"></block>
<block v-if="nb > 3" align="center"></block>
But i want to apply both in single element like,
<block v-if="nb == 3" align="left" v-else align="center"></block>
Is it possible ?
Or Any other solution to apply this ?
Thank in advance.