Commit 3d7102a4 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch '325207-async-import-echarts' into 'master'

Async import large chart library

See merge request gitlab-org/gitlab!64046
parents 25ab555f 9018f7a5
...@@ -3,15 +3,15 @@ import { GlEmptyState } from '@gitlab/ui'; ...@@ -3,15 +3,15 @@ import { GlEmptyState } from '@gitlab/ui';
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import { setUrlFragment } from '~/lib/utils/url_utility'; import { setUrlFragment } from '~/lib/utils/url_utility';
import LoadingSkeleton from './loading_skeleton.vue'; import LoadingSkeleton from './loading_skeleton.vue';
import StatisticsHistory from './statistics_history.vue';
import StatisticsSummary from './statistics_summary.vue';
export default { export default {
components: { components: {
GlEmptyState, GlEmptyState,
LoadingSkeleton, LoadingSkeleton,
StatisticsSummary, StatisticsSummary: () =>
StatisticsHistory, import(/* webpackChunkName: 'threat_statistics' */ './statistics_summary.vue'),
StatisticsHistory: () =>
import(/* webpackChunkName: 'threat_statistics' */ './statistics_history.vue'),
}, },
props: { props: {
storeNamespace: { storeNamespace: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment