dynamically load gallery
This commit is contained in:
parent
33665fcfa6
commit
3aca1ce6c0
7 changed files with 24 additions and 15 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import { cloneDeep } from 'lodash'
|
||||
import { defineAsyncComponent } from 'vue'
|
||||
|
||||
import Gallery from 'src/components/gallery/gallery.vue'
|
||||
import StatusContent from 'src/components/status_content/status_content.vue'
|
||||
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
|
|
@ -24,7 +23,9 @@ const Draft = {
|
|||
),
|
||||
|
||||
StatusContent,
|
||||
Gallery,
|
||||
Gallery: defineAsyncComponent(
|
||||
() => import( 'src/components/gallery/gallery.vue')
|
||||
),
|
||||
},
|
||||
props: {
|
||||
draft: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue