Skip to content

vue/component-name-in-template-casing ​

Use PascalCase for component names in templates: <MyComponent>

PropertyValue
CategoryArchitecture
Default Severitywarning
Confidencehigh
FixableNo
Engineeslint-template
Sincev1.0.0
Frameworksvue, nuxt

Why it matters ​

Use PascalCase for component names in templates: <MyComponent>

How to fix ​

Review the finding and update the code according to best practices below.

Agent Guidance ​

Write component tags in PascalCase, for example <MyComponent />, instead of kebab-case or lowercase.


Rule source: vue/component-name-in-template-casing

Released under the MIT License.