From 5050b7163157ac82a6b48ac713ad6ec29ec4d1e2 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 11 Apr 2020 15:07:29 +0200 Subject: [PATCH] :zap: (online offline) lazyload online offline component --- src/App.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index c63cdf3..f8ce795 100644 --- a/src/App.vue +++ b/src/App.vue @@ -77,14 +77,13 @@ import ClickOutside from 'vue-click-outside' import { Action, Getter } from 'vuex-class' import IUser from '@/models/IUser' import { COFFEE_LINK } from '@/utils/constants' -import OnlineView from '@/components/OnlineView.vue' @Component({ directives: { ClickOutside }, components: { - 'online-view': OnlineView, + 'online-view': () => import('@/components/OnlineView.vue'), 'queue-notif': () => import('@/components/QueueNotif.vue') } })