0
So then just do this v-if="index !== 0"
example:
<div class="button-group" v-if="index !== 0">
<button type="button" :class="{active:index ==0}" @click="moveTo(0)">home</button>
<button type="button" :class="{active:index ==1}" @click="moveTo(1)">about</button>
<button type="button" :class="{active:index ==2}" @click="moveTo(2)">contacts</button>
</div>
This will do the trick
- [Vuejs]-Adding one component inside another with vuejs
- [Vuejs]-Vue-material not work md-src with custom svg icon
Source:stackexchange.com