mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
8 lines
163 B
Vue
8 lines
163 B
Vue
<script setup lang="ts">
|
|
const toast = useToast()
|
|
</script>
|
|
|
|
<template>
|
|
<UButton label="Show toast" @click="toast.add({ title: 'Hello world!' })" />
|
|
</template>
|