Make event & create event & map async components

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-05-31 15:13:07 +02:00
parent 55cd3bc54a
commit 0a1f955194
2 changed files with 11 additions and 6 deletions

View File

@@ -249,7 +249,9 @@ import EventFullDate from '@/components/Event/EventFullDate.vue';
EventCard,
BIcon,
DateCalendarIcon,
'map-leaflet': () => import('@/components/Map.vue'),
// tslint:disable:space-in-parens
'map-leaflet': () => import(/* webpackChunkName: "map" */ '@/components/Map.vue'),
// tslint:enable
},
apollo: {
event: {