This commit is contained in:
marzban-dev
2024-12-30 19:57:19 +03:30
parent 9bd1bb8118
commit b91e4a3431
-18
View File
@@ -1,18 +0,0 @@
import Toast, { useToast } from "vue-toastification";
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(Toast, {
position: "top-center",
hideProgressBar: true,
transition: "Vue-Toastification__fade",
maxToasts: 3,
closeButton: false,
timeout: 1800,
});
return {
provide: {
toast: useToast(),
},
};
});