This commit is contained in:
2023-09-19 12:02:44 +02:00
parent cd75aa5b13
commit 6587e4f522
4 changed files with 20 additions and 11 deletions

12
src/routes.ts Normal file
View File

@@ -0,0 +1,12 @@
import { RouteRecordRaw } from 'vue-router';
export const routes: RouteRecordRaw[] = [
{ 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: 'track', component: () => import('@/pages/market/Track.vue') },
] },
{ path: '/tools', component: () => import('@/pages/Tools.vue') },
];