import useStore from where? #663
-
https://pinia.esm.dev/ssr/nuxt.html#using-the-store-outside-of-setup |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Correct, it's your store. It's the same as demonstrated in https://pinia.esm.dev/core-concepts/#using-the-store However in that example it explicitly states the import as |
Beta Was this translation helpful? Give feedback.
Correct, it's your store. It's the same as demonstrated in https://pinia.esm.dev/core-concepts/#using-the-store
However in that example it explicitly states the import as
import { useStore } from '@/stores/counter'
, would including that line in the SSR & Nuxt docs too be helpful?