# match-component-import-name

Rule `vue/match-component-import-name`. Require the registered component name to match the imported component name

- Source: vue
- Technologies: Vue
- Kind: correctness
- Needs type information: no
- Autofix: no
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #2050 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `vue/match-component-import-name` | no | no | package `eslint-plugin-vue` | [docs](https://eslint.vuejs.org/rules/match-component-import-name.html) |

## Enable it

### ESLint: `eslint.config.js`

```js
import vue from "eslint-plugin-vue";

export default [
  {
    plugins: { vue },
    rules: {
      "vue/match-component-import-name": "error",
    },
  },
];
```

## Related rules

- [vue/html-comment-indent](https://lintradar.dev/rules/vue/html-comment-indent.md): Enforce consistent indentation in HTML comments
- [vue/max-len](https://lintradar.dev/rules/vue/max-len.md): Enforce a maximum line length in `.vue` files
- [vue/html-comment-content-newline](https://lintradar.dev/rules/vue/html-comment-content-newline.md): Enforce unified line break in HTML comments
- [vue/max-lines-per-block](https://lintradar.dev/rules/vue/max-lines-per-block.md): Enforce maximum number of lines in Vue SFC blocks
- [vue/func-call-spacing](https://lintradar.dev/rules/vue/func-call-spacing.md): Require or disallow spacing between function identifiers and their invocations in `<template>`
- [vue/max-template-depth](https://lintradar.dev/rules/vue/max-template-depth.md): Enforce maximum depth of template

---

Web page: https://lintradar.dev/rules/vue/match-component-import-name. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
