<!-- Example -->
<template>
  <div>
    <div v-if="users">
        ....
    </div>
    <div v-else>
      loading...
    </div>
  </div>
</template>

<script>
export default {
  props: ['users'],
  created() {
    this.$inertia.reload({
      only: ['users']
    })
  }
}
</script>
