Skip to content
On this page

vue/match-component-import-name

require the registered component name to match the imported component name

📖 Rule Details

By default, this rule will validate that the imported name matches the name of the components object property identifer. Note that "matches" means that the imported name matches either the PascalCase or kebab-case version of the components object property identifer. If you would like to enforce that it must match only one of PascalCase or kebab-case, use this rule in conjunction with the rule vue/component-definition-name-casing.

Now loading...

🚀 Version

This rule was introduced in eslint-plugin-vue v8.7.0

🔍 Implementation