debian-mirror-gitlab/spec/frontend/vue3migration/components/slots_with_same_name.vue
2023-07-09 08:55:56 +05:30

14 lines
303 B
Vue

<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>