primevue-mirror/plugins/primeVue.js

26 lines
1.1 KiB
JavaScript

import PrimeVue from '@/components/lib/config/PrimeVue';
import DocApiSection from '@/components/doc/DocApiSection';
import DocComponent from '@/components/doc/DocComponent';
import DocSectionCode from '@/components/doc/DocSectionCode';
import DocSectionNav from '@/components/doc/DocSectionNav';
import DocSections from '@/components/doc/DocSections';
import DocSectionText from '@/components/doc/DocSectionText';
import CodeHighlight from '@/components/layout/CodeHighlight';
import DevelopmentSection from '@/components/layout/DevelopmentSection';
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(PrimeVue, { ripple: true });
nuxtApp.vueApp.directive('code', CodeHighlight);
nuxtApp.vueApp.component('DocSections', DocSections);
nuxtApp.vueApp.component('DocSectionText', DocSectionText);
nuxtApp.vueApp.component('DocSectionCode', DocSectionCode);
nuxtApp.vueApp.component('DocSectionNav', DocSectionNav);
nuxtApp.vueApp.component('DocApiSection', DocApiSection);
nuxtApp.vueApp.component('DocComponent', DocComponent);
nuxtApp.vueApp.component('DevelopmentSection', DevelopmentSection);
});