This PR makes devtools fall back on the internal __name property added by @vitejs/plugin-vue (this name is derrived from the filename) if no explicit name has been set.
Additional context
I'm not sure how to add a test case for this. But I hope the fix is trivial enough to do without one.
What is the purpose of this pull request?
[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other
Before submitting the PR, please make sure you do the following
Description
When we import and use a 3rd Party component in
<script setup>
like in the following example, it will show up as<Anonymous Component>
in devtools.This PR makes devtools fall back on the internal
__name
property added by@vitejs/plugin-vue
(this name is derrived from the filename) if no explicit name has been set.Additional context
I'm not sure how to add a test case for this. But I hope the fix is trivial enough to do without one.
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).