Skip to content


require slots to be explicitly defined

📖 Rule Details

This rule enforces all slots used in the template to be defined once either in the script setup block with the defineSlots macro, or with the slots property in the Options API.

Now loading...
Now loading...

🔧 Options


🚀 Version

This rule was introduced in eslint-plugin-vue v9.21.0

🔍 Implementation