chore(components): add names

This commit is contained in:
Benjamin Canac
2022-05-20 12:21:50 +02:00
parent 4f7e286790
commit 33a31205a1
28 changed files with 106 additions and 1 deletions

View File

@@ -117,3 +117,7 @@ function onError () {
error.value = true
}
</script>
<script lang="ts">
export default { name: 'UAvatar' }
</script>

View File

@@ -56,3 +56,7 @@ const remainingGroupSize = computed(() => {
return avatars.value.length - props.max
})
</script>
<script lang="ts">
export default { name: 'UAvatarGroup' }
</script>

View File

@@ -47,3 +47,7 @@ const badgeClass = computed(() => {
)
})
</script>
<script lang="ts">
export default { name: 'UBadge' }
</script>

View File

@@ -172,3 +172,7 @@ const iconClass = computed(() => {
)
})
</script>
<script lang="ts">
export default { name: 'UButton' }
</script>

View File

@@ -216,3 +216,7 @@ function onMouseLeave () {
}, 0)
}
</script>
<script lang="ts">
export default { name: 'UDropdown' }
</script>

View File

@@ -29,3 +29,7 @@ watch(() => props.name, async () => {
icon.value = await loadIcon(props.name).catch(_ => null)
})
</script>
<script lang="ts">
export default { name: 'UIcon' }
</script>

View File

@@ -64,7 +64,7 @@ function resolveLinkClass ({ isActive, isExactActive }: { isActive: boolean, isE
<script lang="ts">
export default {
name: 'Link',
name: 'ULink',
inheritAttrs: false
}
</script>