primevue-mirror/plugins/app.js

8 lines
293 B
JavaScript
Raw Permalink Normal View History

2023-12-31 14:08:33 +00:00
import DeferredDemo from '@/components/demo/DeferredDemo.vue';
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
});