debian-mirror-gitlab/spec/frontend/vue3migration/components/slots_with_same_name.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
303 B
Vue
Raw Normal View History

2023-07-09 08:55:56 +05:30
<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>