# vue/require-name-property
require a name property in Vue components
# 📖 Rule Details
This rule requires a name
property to be set on components.
<script>
/* ✓ GOOD */
export default {
name: 'OurButton'
}
</script>
<script>
/* ✗ BAD */
export default {
}
</script>
<script>
/* ✗ BAD */
export default {
notName: 'OurButton'
}
</script>
# 🔧 Options
Nothing.
# 🚀 Version
This rule was introduced in eslint-plugin-vue v6.1.0