How to share the same store across multiple electron windows? #1961
Unanswered
martinszeltins
asked this question in
Help and Questions
Replies: 1 comment
-
Facing the same problem rn |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am making an electron app and I have multiple pinia stores defined. However when a new electron window is opened it always creates a new store because the whole app is bootstrapped anew. Each window will instantiate its own store and each window is a separate process.
The way a I open a new window is by using Vue router and giving the window url as
http://localhost:3000/#about
.Is there some easy way to share the same store across multiple electron windows?
Beta Was this translation helpful? Give feedback.
All reactions