Pinia in lib mode SSR #1799
Unanswered
ansbar
asked this question in
Help and Questions
Replies: 1 comment 1 reply
-
@posva do you know if question 1 is achievable? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi, we're using a Pinia store in lib mode and using the lib in a SSR project.
The lib is internal only and all consumers of the lib already uses Pinia in their projects.
We've had some difficulties making the store work in the lib on the server but by externalising Pinia and using a prop with $pinia it seems to be rolling now.
However, using the store in the main project isn't working 100% yet.
I have two questions.
// My Library
myLib.vue
// Index lib file
Beta Was this translation helpful? Give feedback.
All reactions