Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.54 KB

no-deprecated-v-is.md

File metadata and controls

49 lines (33 loc) · 1.54 KB
pageClass sidebarDepth title description
rule-details
0
vue/no-deprecated-v-is
disallow deprecated `v-is` directive (in Vue.js 3.1.0+)

vue/no-deprecated-v-is

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

  • This rule has not been released yet.
  • 🔧 The --fix option on the command line 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 instead.

<template>
  <!-- ✓ GOOD -->
  <div is="vue:MyComponent" />
  <component is="MyComponent" />
  
  <!-- ✗ BAD -->
  <div v-is="'MyComponent'" />
</template>

👫 Related Rules

📚 Further Reading

🔍 Implementation