title: How to use "v-if" and "v-else" in same tag in HTML using Vue JS?
body: <p>I use Vue js conditional statements in multiple elements.</p>
  
  <p>In some cases, i need to place if and else in same element to filter the elements.</p>
  
  <p>Here,i use multiple elements to apply if and else.</p>
  
  <pre><code>   &lt;block v-if="nb == 3" align="left"&gt;&lt;/block&gt;
     &lt;block v-if="nb &gt; 3" align="center"&gt;&lt;/block&gt;
  </code></pre>
  
  <p>But i want to apply both in single element like,</p>
  
  <pre><code>  &lt;block v-if="nb == 3" align="left" v-else align="center"&gt;&lt;/block&gt;
  </code></pre>
  
  <p>Is it possible ?</p>
  
  <p>Or Any other solution to apply this ?</p>
  
  <p>Thank in advance.</p>