change notification system to vue-toastification
This commit is contained in:
9
frontend/plugins/toast.js
Normal file
9
frontend/plugins/toast.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import Toast from 'vue-toastification'
|
||||
|
||||
export default defineNuxtPlugin(nuxtApp => nuxtApp.vueApp.use(Toast, {
|
||||
transition: "Vue-Toastification__bounce",
|
||||
maxToasts: 5,
|
||||
closeOnClick: false,
|
||||
newestOnTop: true,
|
||||
showCloseButtonOnHover: true,
|
||||
}))
|
||||
Reference in New Issue
Block a user