<div class="flex-div"> <template v-if="true"> <img src="cool-img" alt="awesome"> <h1>Cool Title</h1> <p>Cool Text</p> </template> <template v-if="false"> <img src="not-so-cool-img" alt="awesome"> <h1>Not So Cool Title</h1> <p>Not So Cool Text</p> </template> </div>