vuejs / devtools

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools.vuejs.org/
MIT License
1.7k stars 121 forks source link

Selected Components Do Not Show Details #662

Open gihalu opened 3 weeks ago

gihalu commented 3 weeks ago

After selecting a component, the details for that component (the props, setup variables, etc) do not show up in the section under the component tree. The issue is intermittent, but happens more often then not.

gihalu commented 3 weeks ago

By the way, just want to say I LOVE this tool and am excited about the update once the bugs get worked out. Thanks for all the effort!

yyx990803 commented 3 weeks ago

Can you provide more information? e.g. What version of Vue are you using? What libraries / build tools are you using? Does it work the same way when you use the devtool as a Vite plugin?

jkurtz678 commented 3 weeks ago

@gihalu I had this exact same issue, some components would not show their properties in the component tree. However I found that this was caused by a vuex store console error that I previously thought was unrelated. My component was not triggering the error but since it had a store import that seems to have messed up the devtools. Once I fixed the vuex store issue the devtools worked as expected.

webfansplz commented 3 weeks ago

@gihalu I had this exact same issue, some components would not show their properties in the component tree. However I found that this was caused by a vuex store console error that I previously thought was unrelated. My component was not triggering the error but since it had a store import that seems to have messed up the devtools. Once I fixed the vuex store issue the devtools worked as expected.

Can you share what kind of vuex error was caused? I tried to corrupt the vuex state, but couldn't reproduce it.