4👍
✅
Exactly like in your example, but add length checking:
<div v-if="events && events.length > 0">
<div v-for="event in events"> etc etc </div>
</div>
<div v-else>Sorry there are no events</div>
Source:stackexchange.com