Add more prefetching of components
This commit is contained in:
parent
bc7e7dd865
commit
b1b5398c56
17 changed files with 199 additions and 32 deletions
|
|
@ -88,7 +88,8 @@
|
|||
import relationKinds from '../../../models/relationKinds'
|
||||
import TaskRelationModel from '../../../models/taskRelation'
|
||||
|
||||
import multiselect from 'vue-multiselect'
|
||||
import LoadingComponent from '../../misc/loading'
|
||||
import ErrorComponent from '../../misc/error'
|
||||
|
||||
export default {
|
||||
name: 'relatedTasks',
|
||||
|
|
@ -106,7 +107,12 @@
|
|||
}
|
||||
},
|
||||
components: {
|
||||
multiselect,
|
||||
multiselect: () => ({
|
||||
component: import(/* webpackPrefetch: true *//* webpackChunkName: "multiselect" */ 'vue-multiselect'),
|
||||
loading: LoadingComponent,
|
||||
error: ErrorComponent,
|
||||
timeout: 60000,
|
||||
}),
|
||||
},
|
||||
props: {
|
||||
taskId: {
|
||||
|
|
|
|||
Reference in a new issue