# vue/no-deprecated-v-is
disallow deprecated
v-is
directive (in Vue.js 3.1.0+)
- 🔧 The
--fix
option on the command line (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule reports deprecated v-is
directive in Vue.js v3.1.0+.
Use is
attribute with vue:
prefix (opens new window) instead.
<template>
<!-- ✓ GOOD -->
<div is="vue:MyComponent" />
<component is="MyComponent" />
<!-- ✗ BAD -->
<div v-is="'MyComponent'" />
</template>
# 👫 Related Rules
# 📚 Further Reading
# 🚀 Version
This rule was introduced in eslint-plugin-vue v7.11.0