From cd7ab285b79ce74e876a5644d7a210c38501096d Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sun, 15 Oct 2023 16:40:42 +0300 Subject: [PATCH] Register Toast as well --- plugins/primeVue.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/primeVue.js b/plugins/primeVue.js index 09f7b38a0..274771b78 100644 --- a/plugins/primeVue.js +++ b/plugins/primeVue.js @@ -1,4 +1,5 @@ import PrimeVue from '@/components/lib/config/PrimeVue'; +import ToastService from '@/components/lib/toastservice/ToastService'; import DocApiSection from '@/components/doc/DocApiSection'; import DocComponent from '@/components/doc/DocComponent'; @@ -12,6 +13,7 @@ import Animate from '@/components/lib/animate/Animate'; export default defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.use(PrimeVue, { ripple: true }); + nuxtApp.vueApp.use(ToastService); nuxtApp.vueApp.directive('animate', Animate); nuxtApp.vueApp.directive('code', CodeHighlight);