Components introduced through script tags are marked as subcomponents?
Version
3.0.4
Reproduction link
https://github.com/silkwromzf/report
Steps to reproduce
- Install and run the project.
- The component object introduced through src in the vue file is recognized as a subcomponent. In vuejs-devtools it is correctly recognized as the current component.
<script src="."></script>
<style lang="less" scoped src="./style/index.less"></style>
<style type="text/css">.uni-navgation[data-v-264afbb3] {
position: relative;
background: red;
}
</style>
// ...
<div class="uni-navgation" data-v-264afbb3-s="">uni-navgation</div>
3.navgationWIthTsx
is also recognized as data-v-264afbb3-s
.
4.Can't use the scope attribute if use tsx?
What is expected?
data-v-
=> data-v-264afbb3
What is actually happening?
data-v-
=> data-v-264afbb3-s
Please read https://new-issue.vuejs.org/?repo=vuejs/vue#why-repro and open a new issue with a full reproduction: Your repro seems to be missing the actual code to show the problem and should not contain TS, routing, nor stores