how can i get the right component name
Describe the bug
my folder is
How can i get the right component name
Reproduction
/
System Info
window 11
Used Package Manager
pnpm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a minimal reproducible of the bug.
You can use directoryAsNamespace: true,
It will prefix your component name with their folders name
eg: ASrc and BSrc here (index.vue is not 'translated')
您可以使用
directoryAsNamespace: true,它将组件名称与其文件夹名称作为前缀 ,例如:此处的 ASrc 和 BSrc (index.vue 未“翻译”)
You can use
directoryAsNamespace: true,It will prefix your component name with their folders name eg: ASrc and BSrc here (index.vue is not 'translated')
but i got some component name as "", is callback error
but i got some component name as "", is callback error
What error are you getting? Could you share a minimal reproduction?