Use Pinia store between Vue and Web components #1429
Unanswered
kduvignau
asked this question in
Help and Questions
Replies: 0 comments
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.
-
Hello,
I 'm working on a vue 3 application using regular Vue components. One of our component is a web component.
As stated in the official documentation , we cannot use provide/inject between Vue & Web componenets
Is it a good idea to use Pinia to share data between Vue and Web components instead?
It works locally in a small project, however I have this warning in the console :
Here is the playground with the code : https://stackblitz.com/edit/vitejs-vite-chvrvs?file=src/App.vue
In our app, we would like to use a web component to display a custom element in a TinyMCE editor
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions