How to Add Conditional Statements to v-for Loops in Vue.js

While working on a large project in Vue.js recently, I ran into a problem several times that seems common and yet I couldn’t find any explanation in the Vue.js documentation on how to handle it.