primevue-mirror/plugins/primeVue.js

26 lines
1.1 KiB
JavaScript
Raw Normal View History

import PrimeVue from '@/components/lib/config/PrimeVue';
2022-09-09 10:25:14 +00:00
2023-04-01 02:36:59 +00:00
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';
2022-09-06 11:52:18 +00:00
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(PrimeVue, { ripple: true });
2022-09-09 10:25:14 +00:00
2023-04-01 02:36:59 +00:00
nuxtApp.vueApp.directive('code', CodeHighlight);
2022-09-09 10:25:14 +00:00
2023-02-28 08:29:30 +00:00
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);
2023-04-01 02:36:59 +00:00
nuxtApp.vueApp.component('DevelopmentSection', DevelopmentSection);
2022-09-14 14:26:41 +00:00
});