Use correct chunknames

This commit is contained in:
Matthias 2021-04-24 16:52:13 +02:00
parent 2fc8854060
commit 7ffc34be9a

View File

@ -19,34 +19,22 @@ const routes: Array<RouteConfig> = [
{ {
path: '/trade', path: '/trade',
name: 'Freqtrade Trading', name: 'Freqtrade Trading',
// route level code-splitting component: () => import(/* webpackChunkName: "trade" */ '@/views/Trading.vue'),
// 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'),
}, },
{ {
path: '/graph', path: '/graph',
name: 'Freqtrade Graph', name: 'Freqtrade Graph',
// route level code-splitting component: () => import(/* webpackChunkName: "graph" */ '@/views/Graphs.vue'),
// 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'),
}, },
{ {
path: '/dashboard', path: '/dashboard',
name: 'Freqtrade Dashboard', name: 'Freqtrade Dashboard',
// route level code-splitting component: () => import(/* webpackChunkName: "dashboard" */ '@/views/Dashboard.vue'),
// 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'),
}, },
{ {
path: '/login', path: '/login',
name: 'Login', name: 'Login',
// route level code-splitting component: () => import(/* webpackChunkName: "login" */ '@/views/LoginView.vue'),
// 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'),
meta: { meta: {
allowAnonymous: true, allowAnonymous: true,
}, },