Skip to content

import useStore from where? #663

Discussion options

You must be logged in to vote

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?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@posva
Comment options

Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants