primevue-mirror/apps/showcase/plugins/app.js

10 lines
430 B
JavaScript
Raw Normal View History

2023-12-31 14:08:33 +00:00
import DeferredDemo from '@/components/demo/DeferredDemo.vue';
import PrimeVueNuxtLink from '@/components/layout/PrimeVueNuxtLink';
import CodeHighlight from '@/directives/CodeHighlight';
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.directive('code', CodeHighlight);
2023-12-31 14:08:33 +00:00
nuxtApp.vueApp.component('DeferredDemo', DeferredDemo); // @todo
nuxtApp.vueApp.component('PrimeVueNuxtLink', PrimeVueNuxtLink);
});