Welcome to mirror list, hosted at ThFree Co, Russian Federation.

slots_with_same_name.vue « components « vue3migration « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 37604cd9f6efdc121818aab5ff976abe08967249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script>
import Simple from './simple.vue';

export default {
  name: 'SlotsWithSameName',
  components: { Simple },
};
</script>
<template>
  <simple>
    <template v-if="true" #default>{{ $options.name }}</template>
    <template v-else #default>{{ $options.name }}</template>
  </simple>
</template>