nuxt3 how to call pinia store in composeable – Javascript
Since the nuxt 3.4.0 update the pinia store can no longer be used in composeables. //example composable import { useAuthStore } from '~/store/auth-store'; const authStore = useAuthStore(); export function doSomethingWithStore() { return authStore.checkAuthUser; } you will now receive the below…