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

Component automatically introduces the generated component name. #258

Open
lxccc812 opened this issue May 30, 2023 · 0 comments
Open

Component automatically introduces the generated component name. #258

lxccc812 opened this issue May 30, 2023 · 0 comments

Comments

@lxccc812
Copy link

Environment

nuxt@2.15.8
vue@2.7.14

Reproduction

Local test environment,Unable to provide interface

Describe the bug

.nuxt/components/index.js
image

directory structure
image

Components quoted price
image

I get an error message
image

My question: why is this component in automatic introduction was given to the name of the 'DesktopShareGameList' rather than 'DesktopShareGameReviewDetailGameList', which contains the what kind of rules.Confusingly, only the name of this component does not correspond to the directory structure,Other components can be referenced using large humps or horizontal links, and different components in the same directory can be imported.Such as' DesktopShareGameReviewDetailDataList '
imageI also eliminated the problem of duplicate component names

Additional context

No response

Logs

No response

@danielroe danielroe transferred this issue from nuxt/nuxt May 30, 2023
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

1 participant