vuejs use component if condition code example Example: vue if <h1 v-if="variable">Vue is awesome!</h1>