# 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>
Now loading...
<script> /* ✗ BAD */ export default { } </script>
Now loading...
<script> /* ✗ BAD */ export default { notName: 'OurButton' } </script>
Now loading...

# 🔧 Options

Nothing.

# 🔍 Implementation