Skip to content

vue/no-unregistered-components ​

disallow using components that are not registered inside templates

📖 Rule Details ​

This rule reports components that haven't been registered and are being used in the template.

Note

This rule cannot check globally registered components and components registered in mixins unless you add them as part of the ignored patterns. component, suspense and teleport are ignored by default.

Now loading...
Now loading...

🔧 Options ​

json
{
  "vue/no-unregistered-components": ["error", {
    "ignorePatterns": []
  }]
}
  • ignorePatterns Suppresses all errors if component name matches one or more patterns.

ignorePatterns: ['custom(\\-\\w+)+'] ​

Now loading...
Now loading...

🚀 Version ​

This rule was introduced in eslint-plugin-vue v7.0.0

🔍 Implementation ​