mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
migration: vue3 COMPONENT_ASYNC
This commit is contained in:
parent
123577c9ee
commit
27a6f90cf7
1 changed files with 4 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { toRef } from 'vue'
|
import { toRef } from 'vue'
|
||||||
|
import { defineAsyncComponent } from 'vue'
|
||||||
import { useVuelidate } from '@vuelidate/core'
|
import { useVuelidate } from '@vuelidate/core'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -37,7 +38,9 @@ export default {
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
RoutableTabs: () => import('@/components/RoutableTabs.vue'),
|
RoutableTabs: defineAsyncComponent(
|
||||||
|
() => import('@/components/RoutableTabs.vue'),
|
||||||
|
),
|
||||||
},
|
},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue