separate how it works
This commit is contained in:
@@ -3,13 +3,19 @@ import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/home',
|
||||
component: () => import('@/corp/CorpLayout.vue'),
|
||||
path:'/home',
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: () => import(/* webpackChunkName: "vaultview" */ '@/corp/Home.vue'),
|
||||
}
|
||||
name: 'Home',
|
||||
path: '/home',
|
||||
component: () => import(/* webpackChunkName: "home" */ '@/corp/Home.vue'),
|
||||
},
|
||||
{
|
||||
name: 'HowItWorks',
|
||||
path: '/home/how-it-works',
|
||||
component: () => import(/* webpackChunkName: "howitworks" */ '@/corp/HowItWorks.vue'),
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -17,6 +23,7 @@ const routes = [
|
||||
component: () => import('@/layouts/chart/ChartLayout.vue'),
|
||||
children: [
|
||||
{
|
||||
name: 'App',
|
||||
path: '/',
|
||||
// route level code-splitting
|
||||
// this generates a separate chunk (about.[hash].js) for this route
|
||||
@@ -25,24 +32,24 @@ const routes = [
|
||||
component: () => import(/* webpackChunkName: "vaultview" */ '@/components/chart/ChartVault.vue'),
|
||||
},
|
||||
{
|
||||
name: 'Order',
|
||||
path: '/order',
|
||||
name: 'Edit',
|
||||
// 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'),
|
||||
},
|
||||
{
|
||||
path: '/assets',
|
||||
name: 'Assets',
|
||||
path: '/assets',
|
||||
// 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'),
|
||||
},
|
||||
{
|
||||
name: 'Status',
|
||||
path: '/status',
|
||||
name: 'Orders',
|
||||
// route level code-splitting
|
||||
// this generates a separate chunk (about.[hash].js) for this route
|
||||
// which is lazy-loaded when the route is visited.
|
||||
@@ -50,31 +57,31 @@ const routes = [
|
||||
},
|
||||
/*
|
||||
{
|
||||
path: '/order',
|
||||
name: 'Create',
|
||||
path: '/order',
|
||||
component: () => import(/!* webpackChunkName: "chartorder" *!/ '@/components/chart/ChartPlaceOrder.vue'),
|
||||
},
|
||||
{
|
||||
path: '/twap',
|
||||
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'),
|
||||
},
|
||||
{
|
||||
path: '/ladder',
|
||||
name: 'Ladder',
|
||||
path: '/ladder',
|
||||
component: () => import(/!* webpackChunkName: "ladder" *!/ '@/components/LadderOrder.vue'),
|
||||
},
|
||||
{
|
||||
path: '/diagonal',
|
||||
name: 'Diagonal',
|
||||
path: '/diagonal',
|
||||
component: () => import(/!* webpackChunkName: "diagonal" *!/ '@/components/DiagonalOrder.vue'),
|
||||
},
|
||||
{
|
||||
path: '/custom',
|
||||
name: 'Custom',
|
||||
path: '/custom',
|
||||
component: () => import(/!* webpackChunkName: "custom" *!/ '@/components/CustomOrder.vue'),
|
||||
},
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user