rework hierarchy
This commit is contained in:
11
src/main.ts
11
src/main.ts
@@ -4,10 +4,13 @@ import App from './App.vue';
|
||||
import './style.css';
|
||||
|
||||
const routes = [
|
||||
{ path: '/', component: () => import('@/Index.vue') },
|
||||
{ path: '/reprocess', component: () => import('@/reprocess/Reprocess.vue') },
|
||||
{ path: '/market', component: () => import('@/market/Market.vue') },
|
||||
{ path: '/tools', component: () => import('@/tools/Tools.vue') },
|
||||
{ path: '/', component: () => import('@/pages/Index.vue') },
|
||||
{ path: '/reprocess', component: () => import('@/pages/Reprocess.vue') },
|
||||
{ path: '/market', component: () => import('@/pages/Market.vue'), children: [
|
||||
{ path: '', redirect: '/market/scan' },
|
||||
{ path: 'scan', component: () => import('@/pages/market/Scan.vue') },
|
||||
] },
|
||||
{ path: '/tools', component: () => import('@/pages/Tools.vue') },
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
Reference in New Issue
Block a user