Global setup
Three singletons. Mount each once, anywhere in your app, and every other component reaches it automatically.
TooltipHost
Powers every v-tooltip. Without one mounted, tooltips silently never appear.
<template>
<TooltipHost />
<YourApp />
</template>It takes the same options every individual tooltip can override:
DialogHost
Renders whatever openDialog() creates imperatively. Not needed for a <Dialog v-model:open> in your own template. No props, no configuration.
<template>
<DialogHost />
<YourApp />
</template>Toaster
Renders whatever toast() creates. Has real configuration, so it keeps its own page.
<template>
<Toaster />
<YourApp />
</template>All together
Mount all three once, wherever your app's root template lives:
<script setup lang="ts">
import { DialogHost, Toaster, TooltipHost } from 'vael-ui'
</script>
<template>
<TooltipHost />
<DialogHost />
<Toaster />
<YourApp />
</template>