webfansplz / vite-plugin-vue-inspector

jump to editor source code while click the element of browser automatically.
MIT License
698 stars 74 forks source link

(Feature Request) Add a configuration option to support adding the data-v-inspector attribute to components #84

Open JonathanLee-LX opened 9 months ago

JonathanLee-LX commented 9 months ago

Add a configuration option that, when enabled, adds a data-v-inspector attribute to components to support component-level jumps

Why

Currently the plugin only adds data-v-inspector to native html elements, so it can't realize component level jumping, which affects the actual experience.