From 7ffc34be9a041207579b65de148b5ed8ea959243 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 24 Apr 2021 16:52:13 +0200 Subject: [PATCH] Use correct chunknames --- src/router/index.ts | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 05d751e9..69bf3efd 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -19,34 +19,22 @@ const routes: Array = [ { path: '/trade', name: 'Freqtrade Trading', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '@/views/Trading.vue'), + component: () => import(/* webpackChunkName: "trade" */ '@/views/Trading.vue'), }, { path: '/graph', name: 'Freqtrade Graph', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '@/views/Graphs.vue'), + component: () => import(/* webpackChunkName: "graph" */ '@/views/Graphs.vue'), }, { path: '/dashboard', name: 'Freqtrade Dashboard', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '@/views/Dashboard.vue'), + component: () => import(/* webpackChunkName: "dashboard" */ '@/views/Dashboard.vue'), }, { path: '/login', name: 'Login', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '@/views/LoginView.vue'), + component: () => import(/* webpackChunkName: "login" */ '@/views/LoginView.vue'), meta: { allowAnonymous: true, },