Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i get the right component name #772

Open
5 tasks done
CandyACE opened this issue Jun 13, 2024 · 2 comments
Open
5 tasks done

how can i get the right component name #772

CandyACE opened this issue Jun 13, 2024 · 2 comments

Comments

@CandyACE
Copy link

CandyACE commented Jun 13, 2024

Describe the bug

my folder is

image

How can i get the right component name

Reproduction

/

System Info

window 11

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@OliveLeb
Copy link

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')

@CandyACE
Copy link
Author

您可以使用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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants