Conditional rendering

If any attributes that starts with v- that are offered by the vue.js and they called as directives in Vuejs.

How to render Conditionally in vuejs?

we used a v-if directive to render conditionally.so in below example we only render the dom elements if show property is true but in the h2 element, we used a !show the property it means false so it never renders in the dom.