- language
< v-if= \"tree()\"> //which tag I may use or any other process
- home
You can use template:
<template v-if="condition">
</template>
<template v-else>
</template>
Template will not be rendered in the browser. But it will parse the contents inside of this to the html.
you can sometimes use the <slot>
element to make what you want. Have a look at the slot documentation here