Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.24 KB

no-reserved-component-names.md

File metadata and controls

41 lines (30 loc) · 1.24 KB
pageClass sidebarDepth title description
rule-details
0
vue/no-reserved-component-names
disallow the use of reserved names in component definitions

vue/no-reserved-component-names

disallow the use of reserved names in component definitions

📖 Rule Details

This rule prevents name collisions between vue components and standard html elements.

<script>
/* ✗ BAD */
export default {
  name: 'div'
}
</script>

🔧 Options

Nothing.

📚 Further reading

🔍 Implementation