vue check apakah daftar kosong

<template v-if="!nodes || !nodes.length>
  Nothing To Show
</template>
<template v-else v-for="node in nodes">
  {{ node }}
</template>
Arno Deceuninck