fix: correctly import all components
This commit is contained in:
parent
bb280b811c
commit
62dadc791c
2 changed files with 12 additions and 6 deletions
|
@ -36,16 +36,19 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {computed, ref, watchEffect, shallowReactive, type Ref, type PropType} from 'vue'
|
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 TaskCollectionService from '@/services/taskCollection'
|
||||||
import TaskService from '@/services/task'
|
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 TaskModel from '@/models/task'
|
||||||
import {useRouter} from 'vue-router'
|
|
||||||
import Loading from '@/components/misc/loading.vue'
|
|
||||||
import type ListModel from '@/models/list'
|
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'
|
import {useBaseStore} from '@/stores/base'
|
||||||
|
|
||||||
// FIXME: these types should be exported from vue-ganttastic
|
// FIXME: these types should be exported from vue-ganttastic
|
||||||
|
|
|
@ -60,6 +60,7 @@ import FontAwesomeIcon from '@/components/misc/Icon'
|
||||||
import Button from '@/components/input/button.vue'
|
import Button from '@/components/input/button.vue'
|
||||||
import Modal from '@/components/misc/modal.vue'
|
import Modal from '@/components/misc/modal.vue'
|
||||||
import Card from '@/components/misc/card.vue'
|
import Card from '@/components/misc/card.vue'
|
||||||
|
import ganttastic from '@infectoone/vue-ganttastic'
|
||||||
|
|
||||||
app.component('icon', FontAwesomeIcon)
|
app.component('icon', FontAwesomeIcon)
|
||||||
app.component('x-button', Button)
|
app.component('x-button', Button)
|
||||||
|
@ -103,6 +104,8 @@ if (window.SENTRY_ENABLED) {
|
||||||
import('./sentry').then(sentry => sentry.default(app, router))
|
import('./sentry').then(sentry => sentry.default(app, router))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
app.use(ganttastic)
|
||||||
app.use(pinia)
|
app.use(pinia)
|
||||||
app.use(router)
|
app.use(router)
|
||||||
app.use(i18n)
|
app.use(i18n)
|
||||||
|
|
Loading…
Reference in a new issue