<template>
  <div>
    <slot v-if="load" name="default"></slot>
    <slot v-else name="fallback"></slot>
  </div>
</template>

<script>
export default {
  data() {
    return {
      load: false,
    }
  },
  mounted() {
    setTimeout(() => {
      this.load = true
    }, 1000)
  }
}
</script>

<style lang="scss" scoped>

</style>