vue3-hot-toast
Vue3 Hot Toast
Add beautiful notifications to your Vue app with vue3-hot-toast.
Preview
Website
Document: https://vue3-hot-toast.netlify.app
NPM: https://www.npmjs.com/package/vue3-hot-toast
Inspiration
react-hot-toast - Smoking Hot React Notifications.
Install
pnpm install vue3-hot-toast
or
npm install vue3-hot-toast
or
yarn add vue3-hot-toast
Basic usage
<script setup lang="ts">
import toast, { Toaster } from 'vue3-hot-toast'
function notify() {
toast('Here is your toast.')
}
</script>
<template>
<div>
<button @click="notify">Make me a toast</button>
<Toaster />
</div>
</template>
Related Packages
vue3-toastify
🎉 Vue3-Toastify allows you to add notifications to your app with ease. No more...
3,719,911
545
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.5 | ^3.2.45 | MIT | |
| 0.0.4 | ^3.2.45 | MIT | |
| 0.0.3 | ^3.2.45 | MIT | |
| 0.0.2 | ^3.2.45 | MIT | |
| 0.0.0 | ^3.2.45 | MIT |
Pre-releases (1)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.1-beta.1 | ^3.2.45 | MIT |