package upgrade

This commit is contained in:
tim
2025-01-28 01:10:01 -04:00
parent 0545cd6e97
commit 273b877079
4 changed files with 201 additions and 302 deletions

View File

@@ -9,12 +9,12 @@ const routes = [
{
name: 'Home',
path: '/home',
component: () => import(/* webpackChunkName: "home" */ '@/corp/Home.vue'),
component: () => import('@/corp/Home.vue'),
},
{
name: 'HowItWorks',
path: '/home/how-it-works',
component: () => import(/* webpackChunkName: "howitworks" */ '@/corp/HowItWorks.vue'),
component: () => import('@/corp/HowItWorks.vue'),
},
]
},
@@ -28,8 +28,7 @@ const routes = [
// 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: "chartorder" */ '@/components/chart/ChartPlaceOrder.vue'),
component: () => import(/* webpackChunkName: "vaultview" */ '@/components/chart/ChartVault.vue'),
component: () => import('@/components/chart/ChartVault.vue'),
},
{
name: 'Order',
@@ -37,7 +36,7 @@ const routes = [
// 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: "chartorder" */ '@/components/chart/ChartPlaceOrder.vue'),
component: () => import('@/components/chart/ChartPlaceOrder.vue'),
},
{
name: 'Assets',
@@ -45,7 +44,7 @@ const routes = [
// 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: "vaultview" */ '@/components/chart/ChartVault.vue'),
component: () => import('@/components/chart/ChartVault.vue'),
},
{
name: 'Status',
@@ -53,38 +52,8 @@ const routes = [
// 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: "ordersview" */ '@/components/chart/ChartStatus.vue'),
component: () => import('@/components/chart/ChartStatus.vue'),
},
/*
{
name: 'Create',
path: '/order',
component: () => import(/!* webpackChunkName: "chartorder" *!/ '@/components/chart/ChartPlaceOrder.vue'),
},
{
name: 'TWAP',
path: '/twap',
// 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: "twap" *!/ '@/components/TimedOrder.vue'),
},
{
name: 'Ladder',
path: '/ladder',
component: () => import(/!* webpackChunkName: "ladder" *!/ '@/components/LadderOrder.vue'),
},
{
name: 'Diagonal',
path: '/diagonal',
component: () => import(/!* webpackChunkName: "diagonal" *!/ '@/components/DiagonalOrder.vue'),
},
{
name: 'Custom',
path: '/custom',
component: () => import(/!* webpackChunkName: "custom" *!/ '@/components/CustomOrder.vue'),
},
*/
],
},
]