nuxt / components

Scan and auto import components for Nuxt.js 2.13+
MIT License
887 stars 48 forks source link

Component automatically introduces the generated component name. #258

Open lxccc812 opened 1 year ago

lxccc812 commented 1 year ago

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