You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how much it's possible to support in ESLint, but I am up to having un plugin-vue-components to have a flag that throws errors on building based on the cases of usage.
This approach may incorrectly recognize non-global components or webcomponents components and incorrectly format them as PascalCase
I don't think it's a big problem. I'll use it for now.
It is recommended that unplugin-vue-components outputs a list of component JSON, and then vue/component-name-in-template-casing support imports the list of components that need to be inspected
Clear and concise description of the problem
全局的组件,有没有办法要求使用的时候必须
PascalCase
全局注入的组件是
unplugin-vue-components
自动注入的,但是没办法限制组件里面的写法必须是PascalCase
有生成typescript的声明文件
components.d.ts
Suggested solution
和
unplugin-vue-components
联动一下,能识别全局组件Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: