fix: correctly import all components

This commit is contained in:
kolaente 2022-10-02 14:12:10 +02:00
parent bb280b811c
commit 62dadc791c
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 12 additions and 6 deletions

View file

@ -36,16 +36,19 @@
<script setup lang="ts">
import {computed, ref, watchEffect, shallowReactive, type Ref, type PropType} from 'vue'
import {useRouter} from 'vue-router'
import {format, parse} from 'date-fns'
import TaskCollectionService from '@/services/taskCollection'
import TaskService from '@/services/task'
import {format, parse} from 'date-fns'
import {colorIsDark} from '@/helpers/color/colorIsDark'
import {useStore} from '@/store'
import {RIGHTS} from '@/constants/rights'
import TaskModel from '@/models/task'
import {useRouter} from 'vue-router'
import Loading from '@/components/misc/loading.vue'
import type ListModel from '@/models/list'
import {colorIsDark} from '@/helpers/color/colorIsDark'
import {RIGHTS} from '@/constants/rights'
import Loading from '@/components/misc/loading.vue'
import TaskForm from '@/components/tasks/TaskForm.vue'
import {useBaseStore} from '@/stores/base'
// FIXME: these types should be exported from vue-ganttastic

View file

@ -60,6 +60,7 @@ import FontAwesomeIcon from '@/components/misc/Icon'
import Button from '@/components/input/button.vue'
import Modal from '@/components/misc/modal.vue'
import Card from '@/components/misc/card.vue'
import ganttastic from '@infectoone/vue-ganttastic'
app.component('icon', FontAwesomeIcon)
app.component('x-button', Button)
@ -103,6 +104,8 @@ if (window.SENTRY_ENABLED) {
import('./sentry').then(sentry => sentry.default(app, router))
}
app.use(ganttastic)
app.use(pinia)
app.use(router)
app.use(i18n)