mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-05-25 20:54:56 +00:00
Ditch global components
This commit is contained in:
@@ -126,6 +126,17 @@ import ModuleCard from './partials/ModuleCard.vue'
|
||||
import ModuleCardPlaceholder from './partials/ModuleCardPlaceholder.vue'
|
||||
import { useVuelidate } from '@vuelidate/core'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseInput from '@/scripts/components/base/BaseInput.vue'
|
||||
import BaseInputGroup from '@/scripts/components/base/BaseInputGroup.vue'
|
||||
import BaseCard from '@/scripts/components/base/BaseCard.vue'
|
||||
import BaseTab from '@/scripts/components/base/BaseTab.vue'
|
||||
import BaseTabGroup from '@/scripts/components/base/BaseTabGroup.vue'
|
||||
import BaseBreadcrumbItem from '@/scripts/components/base/BaseBreadcrumbItem.vue'
|
||||
import BaseBreadcrumb from '@/scripts/components/base/BaseBreadcrumb.vue'
|
||||
import BasePageHeader from '@/scripts/components/base/BasePageHeader.vue'
|
||||
import BasePage from '@/scripts/components/base/BasePage.vue'
|
||||
|
||||
const moduleStore = useModuleStore()
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
@@ -678,6 +678,12 @@ import ModulePlaceholder from './partials/ModulePlaceholder.vue'
|
||||
import RecentModuleCard from './partials/RecentModuleCard.vue'
|
||||
import { useNotificationStore } from '@/scripts/stores/notification'
|
||||
import { useGlobalStore } from '@/scripts/admin/stores/global'
|
||||
import BaseIcon from '@/scripts/components/base/BaseIcon.vue'
|
||||
import BaseButton from '@/scripts/components/base/BaseButton.vue'
|
||||
import BaseBreadcrumbItem from '@/scripts/components/base/BaseBreadcrumbItem.vue'
|
||||
import BaseBreadcrumb from '@/scripts/components/base/BaseBreadcrumb.vue'
|
||||
import BasePageHeader from '@/scripts/components/base/BasePageHeader.vue'
|
||||
import BasePage from '@/scripts/components/base/BasePage.vue'
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
const moduleStore = useModuleStore()
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<script setup>
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { computed, onMounted, ref, watch, reactive } from 'vue'
|
||||
import BaseText from '@/scripts/components/base/BaseText.vue'
|
||||
|
||||
const { t } = useI18n()
|
||||
const props = defineProps({
|
||||
|
||||
@@ -46,4 +46,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</BaseContentPlaceholders>
|
||||
</template>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import BaseContentPlaceholdersText from '@/scripts/components/base/BaseContentPlaceholdersText.vue'
|
||||
import BaseContentPlaceholdersBox from '@/scripts/components/base/BaseContentPlaceholdersBox.vue'
|
||||
import BaseContentPlaceholders from '@/scripts/components/base/BaseContentPlaceholders.vue'
|
||||
</script>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<!-- Product -->
|
||||
<div class="lg:grid lg:grid-rows-1 lg:grid-cols-7 lg:gap-x-8 lg:gap-y-10 xl:gap-x-16 mt-6">
|
||||
|
||||
|
||||
<!-- Product image -->
|
||||
<div class="lg:row-end-1 lg:col-span-4">
|
||||
<BaseContentPlaceholdersBox class="h-96 sm:w-full" rounded />
|
||||
@@ -102,3 +102,9 @@
|
||||
</BasePage>
|
||||
</BaseContentPlaceholders>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import BaseContentPlaceholdersBox from '@/scripts/components/base/BaseContentPlaceholdersBox.vue'
|
||||
import BaseContentPlaceholdersText from '@/scripts/components/base/BaseContentPlaceholdersText.vue'
|
||||
import BasePage from '@/scripts/components/base/BasePage.vue'
|
||||
import BaseContentPlaceholders from '@/scripts/components/base/BaseContentPlaceholders.vue'
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user