Skip to content

Updated guidance on usage outside of Vue component #571

Discussion options

You must be logged in to vote

May be I should tune it down a little. Most of the time, it will work. In your case, it will work fine because when a pinia is created and installed, it is set as active. For any other scenario, and any usage outside of setup: https://pinia.esm.dev/ssr/#using-the-store-outside-of-setup

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@glen-84
Comment options

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