← Back

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

Enforce specific casing for the component naming style in template

Examples

❌  Incorrect

<template>
    <div>
        <myComponent />
        <MyComponent />
        <my_component />
    </div>
</template>

✅  Correct

<template>
    <my-component />
</template>