Skip to content

Import another store in the store root? #969

Closed Answered by posva
jenstornell asked this question in Help and Questions
Discussion options

You must be logged in to vote

A more convenient way is to use a setup store (it's the third example at https://pinia.vuejs.org/introduction.html#basic-example but it's not covered much in docs yet) You can call useActionStore() once in that scenario, outside of actions

Replies: 6 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
10 replies
@rtek
Comment options

@hidde-jan
Comment options

@synopss
Comment options

@elizatlawy
Comment options

@synopss
Comment options

Answer selected by jenstornell
Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet