migration: vue3 COMPONENT_ASYNC

This commit is contained in:
axolotle 2024-03-11 14:44:35 +01:00
parent 123577c9ee
commit 27a6f90cf7

View file

@ -28,6 +28,7 @@
<script>
import { toRef } from 'vue'
import { defineAsyncComponent } from 'vue'
import { useVuelidate } from '@vuelidate/core'
export default {
@ -37,7 +38,9 @@ export default {
inheritAttrs: false,
components: {
RoutableTabs: () => import('@/components/RoutableTabs.vue'),
RoutableTabs: defineAsyncComponent(
() => import('@/components/RoutableTabs.vue'),
),
},
props: {