add toatification package

This commit is contained in:
HAM!DREZA
2024-05-27 21:38:06 +03:30
parent f234440d1a
commit 1e132b97db
13 changed files with 99 additions and 49 deletions
+11
View File
@@ -0,0 +1,11 @@
import Toast from "vue-toastification";
import "vue-toastification/dist/index.css";
export default defineNuxtPlugin((NuxtApp)=>{
NuxtApp.vueApp.use(Toast, {
rtl: true,
position: "top-center",
timeout: 2000,
bodyClassName: ["custom-toast"]
})
})