refactor: migrate to nuxt compatibilityVersion: 4 (#3298)
This commit is contained in:
parent
46e4433e1c
commit
a3fbc056a9
342 changed files with 1200 additions and 2932 deletions
|
@ -1,27 +0,0 @@
|
|||
<script setup lang="ts">
|
||||
import type { Popper as VTooltipType } from 'floating-vue'
|
||||
|
||||
export interface Props extends Partial<typeof VTooltipType> {
|
||||
content?: string
|
||||
}
|
||||
|
||||
defineProps<Props>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VTooltip
|
||||
v-if="isHydrated"
|
||||
v-bind="$attrs"
|
||||
auto-hide
|
||||
no-auto-focus
|
||||
>
|
||||
<slot />
|
||||
<template #popper>
|
||||
<div text-3>
|
||||
<slot name="popper">
|
||||
{{ content }}
|
||||
</slot>
|
||||
</div>
|
||||
</template>
|
||||
</VTooltip>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue