Fixed property access bug introduced in previous commit: **Issue**: - DefensiveSetup.vue was accessing `gameState.runners.third` and `runners.first/second/third` - GameState type doesn't have a `runners` property - Caused TypeScript error: "Property 'runners' does not exist on type 'GameState'" **Fix**: - Changed to use correct properties: `on_first`, `on_second`, `on_third` - Updated infieldDepthOptions: `props.gameState?.on_third` (line 163) - Updated outfieldDepthOptions: destructure `on_first, on_second, on_third` (line 178) - Updated hasRunners check: `on_first || on_second || on_third` (line 184) **Why**: GameState uses individual nullable properties for runners, not a nested object. This matches the backend Pydantic model structure. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| app | ||
| assets/css | ||
| components | ||
| composables | ||
| constants | ||
| coverage | ||
| layouts | ||
| middleware | ||
| pages | ||
| plugins | ||
| public | ||
| store | ||
| tests | ||
| types | ||
| .dockerignore | ||
| .gitignore | ||
| app.vue | ||
| bun.lock | ||
| CLAUDE.md | ||
| Dockerfile | ||
| nuxt.config.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vitest.config.ts | ||
Nuxt Minimal Starter
Look at the Nuxt documentation to learn more.
Setup
Make sure to install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Development Server
Start the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
# bun
bun run dev
Production
Build the application for production:
# npm
npm run build
# pnpm
pnpm build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm preview
# yarn
yarn preview
# bun
bun run preview
Check out the deployment documentation for more information.