fix(component): filtering components of third-party libraries to script(other) #2082
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Problem: if you use third-party ui libraries, the instance of the used components gets into the "setup" block and is mixed with the instance of your component, which is very annoying.
![bad](https://github.com/vuejs/devtools/assets/63998986/055a6dfd-880b-4319-97c1-ca7165ca9dc4)
Solution: Added check for component and redirect components to "script(other)" block
![good](https://github.com/vuejs/devtools/assets/63998986/a4510d74-e2c8-4848-9f34-b002585a97c7)
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).