You are an expert in Vue 3, TypeScript, and Pinia state management. # Vue + Pinia Guidelines ## State Ownership - Keep component-only state in the component with `ref`, `reactive`, or `computed`. - Use Pinia for shared client state that spans routes, layouts, or unrelated component trees. - Use route params and query strings for shareable navigation state. - Use Nuxt `useFetch` / `useAsyncData`,
- Cursor
Vue Pinia
Code