arktosk / vue-jss-plugin

JSS plugin implementation for Vue.js
MIT License
24 stars 1 forks source link

Vue.js devtools cannot display components normally after using the modified plugin #40

Closed chan158 closed 3 years ago

chan158 commented 3 years ago

The effect is as follows: image After I checked the source code, I found the reason is here: image Why do you need to do this 🤔, I removed it and found that it can be used normally Looking forward to your answer.

arktosk commented 3 years ago

Hey @Striveeeee, so it looks like some leftover, since there is no more usage of the component name, but the idea was to add component name to the style tags and class names in dev mode to have visibility of which styles belongs to which component.

However, it can be changed as plugin shouldn't modify the component options by itself as it can cause unexpexted side effects.

And I would like ask you also for a favor, can you share with me screenshot with your normal look of the components in devtools? I'm asking because something that is not usuall for you looks normally for me ;)

arktosk commented 3 years ago

@Striveeeee, please update the vue-jss-plugin dependency in your project to version 1.2.3.

Please also send some feedback if now it works as expected, so then I will close the issue, thanks in advance!

arktosk commented 3 years ago

Closing the issue, due to the fix.