diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-15 15:07:43 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-15 15:07:43 +0000 |
commit | f8a5275c45ed2276daf843764113476749e680d2 (patch) | |
tree | 4856524dbeebf0280a87ff71bcc274f496975e72 /spec/frontend/vue3migration/components/slots_with_same_name.vue | |
parent | e6fed37d941271b897d37820fd3b571feab280b0 (diff) | |
download | gitlab-ce-f8a5275c45ed2276daf843764113476749e680d2.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/vue3migration/components/slots_with_same_name.vue')
-rw-r--r-- | spec/frontend/vue3migration/components/slots_with_same_name.vue | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/frontend/vue3migration/components/slots_with_same_name.vue b/spec/frontend/vue3migration/components/slots_with_same_name.vue new file mode 100644 index 00000000000..37604cd9f6e --- /dev/null +++ b/spec/frontend/vue3migration/components/slots_with_same_name.vue @@ -0,0 +1,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> |