diff --git a/app/src/router/index.ts b/app/src/router/index.ts index 6232f89..dac29e0 100644 --- a/app/src/router/index.ts +++ b/app/src/router/index.ts @@ -22,7 +22,17 @@ const routes: Array = [ { path: '/player', component: PlayerView }, { path: '/bullpen', component: BullpenView }, { path: '/stats', component: BullpenListView }, - { path: '/summary', component: BullpenSummaryView } + { path: '/summary', component: BullpenSummaryView }, + // { + // path: '/player/:id', + // name: 'EditPlayer', + // component: () => import('@/views/PlayerView.vue'), + // props: (route) => ({ + // player: route.state?.player || null, // Pass the player from the state if available + // mode: route.query.mode || 'create', // Default to "create" if no query exists + // }), + // }, + ] const router = createRouter({