15 lines
893 B
TypeScript
15 lines
893 B
TypeScript
import { RouteRecordRaw } from 'vue-router';
|
|
|
|
export const routes: RouteRecordRaw[] = [
|
|
{ path: '/', name: 'home', component: () => import('@/pages/Index.vue') },
|
|
{ path: '/login', name: 'login', component: () => import('@/pages/Login.vue') },
|
|
{ path: '/reprocess', component: () => import('@/pages/Reprocess.vue') },
|
|
{ path: '/market', component: () => import('@/pages/Market.vue'), children: [
|
|
{ path: '', redirect: '/market/type' },
|
|
{ path: 'type/:type?', name: 'market-type', component: () => import('@/pages/market/TypeInfo.vue') },
|
|
{ path: 'scan', component: () => import('@/pages/market/Scan.vue') },
|
|
{ path: 'acquisitions', component: () => import('@/pages/market/Acquisitions.vue') },
|
|
] },
|
|
{ path: '/tools', component: () => import('@/pages/Tools.vue') },
|
|
{ path: '/about', component: () => import('@/pages/About.vue') },
|
|
]; |