# vue/no-deprecated-v-is

disallow deprecated v-is directive (in Vue.js 3.1.0+)

  • ⚙️ This rule is included in all of "plugin:vue/vue3-essential", "plugin:vue/vue3-strongly-recommended" and "plugin:vue/vue3-recommended".
  • 🔧 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>
Now loading...

# 📚 Further Reading

# 🚀 Version

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

# 🔍 Implementation

Last Updated: 10/20/2021, 5:14:26 AM