mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 09:50:33 +01:00
chore(components): add names
This commit is contained in:
@@ -125,6 +125,7 @@ function close (value: boolean) {
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'UModal',
|
||||
inheritAttrs: false
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -183,3 +183,7 @@ onUnmounted(() => {
|
||||
timer.stop()
|
||||
})
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
export default { name: 'UNotification' }
|
||||
</script>
|
||||
|
||||
@@ -24,3 +24,7 @@ import Notification from './Notification'
|
||||
const { $toast } = useNuxtApp()
|
||||
const notifications = useState('notifications', () => [])
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
export default { name: 'UNotifications' }
|
||||
</script>
|
||||
|
||||
@@ -142,3 +142,7 @@ function onMouseLeave () {
|
||||
}, 0)
|
||||
}
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
export default { name: 'UPopover' }
|
||||
</script>
|
||||
|
||||
@@ -58,3 +58,7 @@ const isOpen: WritableComputedRef<boolean> = computed({
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
export default { name: 'USlideover' }
|
||||
</script>
|
||||
|
||||
@@ -86,3 +86,7 @@ const [trigger, container] = usePopper({
|
||||
}]
|
||||
})
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
export default { name: 'UTooltip' }
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user