Register Toast as well

pull/4618/head
Cagatay Civici 2023-10-15 16:40:42 +03:00
parent 0a63eb5f7d
commit cd7ab285b7
1 changed files with 2 additions and 0 deletions

View File

@ -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);