Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.61 KB

no-deprecated-functional-template.md

File metadata and controls

48 lines (32 loc) · 1.61 KB
pageClass sidebarDepth title description since
rule-details
0
vue/no-deprecated-functional-template
disallow using deprecated the `functional` template (in Vue.js 3.0.0+)
v7.0.0

vue/no-deprecated-functional-template

disallow using deprecated the functional template (in Vue.js 3.0.0+)

  • ⚙️ This rule is included in all of "plugin:vue/vue3-essential", "plugin:vue/vue3-strongly-recommended" and "plugin:vue/vue3-recommended".

📖 Rule Details

This rule reports deprecated the functional template (in Vue.js 3.0.0+).

See Migration Guide - Functional Components for more details.

<!-- ✗ BAD -->
<template functional>
  <!-- ... -->
</template>

🔧 Options

Nothing.

📚 Further Reading

🚀 Version

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

🔍 Implementation