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

@@ -125,6 +125,7 @@ function close (value: boolean) {
<script lang="ts">
export default {
name: 'UModal',
inheritAttrs: false
}
</script>

View File

@@ -183,3 +183,7 @@ onUnmounted(() => {
timer.stop()
})
</script>
<script lang="ts">
export default { name: 'UNotification' }
</script>

View File

@@ -24,3 +24,7 @@ import Notification from './Notification'
const { $toast } = useNuxtApp()
const notifications = useState('notifications', () => [])
</script>
<script lang="ts">
export default { name: 'UNotifications' }
</script>

View File

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

View File

@@ -58,3 +58,7 @@ const isOpen: WritableComputedRef<boolean> = computed({
}
})
</script>
<script lang="ts">
export default { name: 'USlideover' }
</script>

View File

@@ -86,3 +86,7 @@ const [trigger, container] = usePopper({
}]
})
</script>
<script lang="ts">
export default { name: 'UTooltip' }
</script>