import {RouteRecordRaw} from 'vue-router'; export const routes: RouteRecordRaw[] = [ {path: '/', name: 'home', component: () => import('@/pages/Index.vue')}, {path: '/callback', name: 'callback', component: () => import('@/pages/Index.vue')}, {path: '/ledgers', component: () => import('@/pages/Ledgers.vue'), children: [ {path: '', component: () => import('@/pages/ledger/ListLedgers.vue')}, ]}, {path: '/rules', component: () => import('@/pages/Rules.vue'), children: [ {path: '', component: () => import('./pages/rules/ListRuleBooks.vue')}, {path: '/characters/:characterId/rule-book', name: 'character-rulebook', component: () => import('@/pages/rules/EditRuleBook.vue')}, ]}, {path: '/market', component: () => import('@/pages/Market.vue'), children: [ {path: '', redirect: '/market/types'}, {path: 'types/:type?', name: 'market-types', component: () => import('@/pages/market/TypeInfo.vue')}, {path: 'tracking', component: () => import('@/pages/market/Tracking.vue')}, {path: 'acquisitions', component: () => import('@/pages/market/Acquisitions.vue')}, ]}, {path: '/reprocess', component: () => import('@/pages/Reprocess.vue')}, {path: '/tools', component: () => import('@/pages/Tools.vue')}, {path: '/characters', component: () => import('@/pages/Characters.vue')}, {path: '/about', name: 'about', component: () => import('@/pages/About.vue')}, ];