mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
e92be71749
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
8 lines
209 B
Vue
8 lines
209 B
Vue
<script setup lang="ts">
|
|
const toast = useToast()
|
|
</script>
|
|
|
|
<template>
|
|
<UButton label="Show toast" @click="toast.add({ title: 'This is an <u>underlined</u> and <b>bold</b> notification.' })" />
|
|
</template>
|