-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility between storybook and vue devtools...? #703
Comments
Can you provide a mini repo? Thanks 🙏 |
I tried to do that with this... https://github.com/eric-g-97477-vue/dev-tools-plugin-test did you want something more? Also, the procedure I used to create my reproduction is fully described. I did nothing unusual. I used the code generated by default and modified a tiny bit to integrate Pinia. |
I submitted the same report to Storybook and they came back with:
Hopefully this issue with the Vue Devtools can be resolved quickly. |
Hey @webfansplz it seems that Perhaps things changed over time, in Storybook we set this up in the global scope
maybe there is more that needs to be done? I'll add more details related to the Storybook side of things in the Storybook issue, but we can discuss the Vue dev tools part here maybe? I noticed in Eric's repro that the dev tools just won't load: I tried many versions in the 7.x range and the behavior was always the same. I then tried 1.0.0 and it loaded correctly so I'm suspecting we need to do something more. |
Summary
I am getting a strange error in the console when trying to configure Storybook to use Pinia within a Vue & Vite project....
I have a simple reproduction case at https://github.com/eric-g-97477-vue/dev-tools-plugin-test
To create this, I did the following...
(1) I created the default vue Project
(2) I initialized the project with
npm install
.(3) I ran
npx storybook@latest init
(4) I then setup storybook to be able to use Pinia. Based on https://storybook.js.org/docs/get-started/frameworks/vue3-vite, I added
to
.storybook/preview.js
.(5) I then run
npm run storybook
and the below error appears in the console when I click around using the stories for button, header, or page.Either I have missed something in the configuration or there is a bug in either storybook or the vue devtools. I am not sure which is the case between those three options.
The text was updated successfully, but these errors were encountered: