You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common pattern in directory structuring for hierarchical components is to use a index.vue file inside a directory containing all the sub components. Eg.
L App.vue
L ViewOne
L index.vue
L SubComponentA.vue
L SubComponentB.vue
L ViewTwo
L index.vue
L SubComponentC.vue
In this case ViewOne and ViewTwo will show up as components named "Index" in the component tree contrary to the intention of the code writer.
I acknowledge an easy workaround is to have the developer add a "name" option to their components but think we should still open this up for discussion whether it should be included as a feature.
Updated: It seems this problem only affects components loaded in using vue-router. May need to look into why $options._componentTag is not defined for components loaded with vue-router
The text was updated successfully, but these errors were encountered:
A common pattern in directory structuring for hierarchical components is to use a index.vue file inside a directory containing all the sub components. Eg.
L App.vue
L ViewOne
L index.vue
L SubComponentA.vue
L SubComponentB.vue
L ViewTwo
L index.vue
L SubComponentC.vue
In App.vue we will
In this case ViewOne and ViewTwo will show up as components named "Index" in the component tree contrary to the intention of the code writer.
I acknowledge an easy workaround is to have the developer add a "name" option to their components but think we should still open this up for discussion whether it should be included as a feature.
Ref: https://github.com/vuejs/vue-devtools/blob/master/src/backend/index.js#L344
Updated: It seems this problem only affects components loaded in using vue-router. May need to look into why $options._componentTag is not defined for components loaded with vue-router
The text was updated successfully, but these errors were encountered: