claude-memory/graph/solutions/nuxt-4-explicit-pinia-imports-required-12c8c0.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

13 lines
540 B
Markdown

---
id: 12c8c07a-44ef-4a4c-bda8-65b1d7eeb028
type: solution
title: "Nuxt 4 explicit Pinia imports required"
tags: [strat-gameplay-webapp, nuxt, vue, pinia, fix]
importance: 0.7
confidence: 0.8
created: "2026-01-14T02:41:16.746442+00:00"
updated: "2026-01-14T02:41:16.746442+00:00"
---
Nuxt 4 breaking change: Pinia stores no longer auto-import. Must explicitly import stores in layouts, pages, and components. Fixed layouts/game.vue with: import { useAuthStore } from '~/store/auth'. Error was: ReferenceError: useAuthStore is not defined