# vue/require-direct-export
require the component to be directly exported
# 📖 Rule Details
This rule aims to require that the component object be directly exported.
# 🔧 Options
{
"vue/require-direct-export": ["error", {
"disallowFunctionalComponentFunction": false
}]
}
"disallowFunctionalComponentFunction"
... Iftrue
, disallow functional component functions, available in Vue 3.x. defaultfalse
# "disallowFunctionalComponentFunction": false
# "disallowFunctionalComponentFunction": true
# 🚀 Version
This rule was introduced in eslint-plugin-vue v5.2.0