Skip to content

vue/no-deprecated-functional-template

禁止使用弃用 functional 模板(在 Vue.js 3.0.0+ 中)

  • ⚙️ 此规则包含在 "plugin:vue/essential"*.configs["flat/essential"]"plugin:vue/strongly-recommended"*.configs["flat/strongly-recommended"]"plugin:vue/recommended"*.configs["flat/recommended"] 中。

📖 规则详情

此规则报告已弃用的 functional 模板(在 Vue.js 3.0.0+ 中)。

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

有关更多详细信息,请参阅 迁移指南 - 功能组件

¥See Migration Guide - Functional Components for more details.

Now loading...

🔧选项

¥🔧 Options

无。

¥Nothing.

📚扩展阅读

¥📚 Further Reading

🚀版本

¥🚀 Version

此规则在 eslint-plugin-vue v7.0.0 中引入

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

🔍代码实现

¥🔍 Implementation

eslint-plugin-vue v10.0 中文网 - 粤ICP备13048890号