1
0

Add more prefetching of components

This commit is contained in:
kolaente
2020-07-27 19:53:19 +02:00
parent bc7e7dd865
commit b1b5398c56
17 changed files with 199 additions and 32 deletions

View File

@ -100,12 +100,19 @@
import LabelService from '../../services/label'
import LabelModel from '../../models/label'
import ColorPicker from '../../components/input/colorPicker'
import LoadingComponent from '../../components/misc/loading'
import ErrorComponent from '../../components/misc/error'
export default {
name: 'ListLabels',
components: {
ColorPicker,
editor: () => import(/* webpackPrefetch: true */ '../../components/input/editor'),
editor: () => ({
component: import(/* webpackPrefetch: true *//* webpackChunkName: "editor" */ '../../components/input/editor'),
loading: LoadingComponent,
error: ErrorComponent,
timeout: 60000,
}),
},
data() {
return {