Cleanup plugin

pull/4618/head
Cagatay Civici 2023-10-15 17:01:21 +03:00
parent 7b35732456
commit 5bed4f752b
2 changed files with 0 additions and 33 deletions

View File

@ -1,17 +0,0 @@
<template>
<p v-if="isProduction">This section is under development. After the necessary tests and improvements are made, it will be shared with the users as soon as possible.</p>
<slot v-else />
</template>
<script>
export default {
data() {
return {
isProduction: null
};
},
mounted() {
this.isProduction = process.env.NODE_ENV === 'production';
}
};
</script>

View File

@ -1,14 +1,7 @@
import PrimeVue from '@/components/lib/config/PrimeVue'; import PrimeVue from '@/components/lib/config/PrimeVue';
import ToastService from '@/components/lib/toastservice/ToastService'; import ToastService from '@/components/lib/toastservice/ToastService';
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 CodeHighlight from '@/components/layout/CodeHighlight';
import DevelopmentSection from '@/components/layout/DevelopmentSection';
import Animate from '@/components/lib/animate/Animate'; import Animate from '@/components/lib/animate/Animate';
export default defineNuxtPlugin((nuxtApp) => { export default defineNuxtPlugin((nuxtApp) => {
@ -17,13 +10,4 @@ export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.directive('animate', Animate); nuxtApp.vueApp.directive('animate', Animate);
nuxtApp.vueApp.directive('code', CodeHighlight); 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);
}); });