unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.77k stars 349 forks source link

support auto import of kebab-case tsx component #800

Closed Pursuit01 closed 4 weeks ago

Pursuit01 commented 4 weeks ago

Clear and concise description of the problem

My kebab-case tsx component in src/components fail to use

Suggested solution

kebab-case tsx component in src/components fail to use, and the config has contained extensions:['vue', 'tsx'].

when i build a new component with pascal-case,the same config will be successful.

open components.d.ts file,the component has been successfully imported.

image

config:

image

component define:

image

usage:

image

Alternative

No response

Additional context

No response

Validations

Pursuit01 commented 4 weeks ago

done! my fault