Skip to content

Files

Latest commit

 

History

History
31 lines (22 loc) · 619 Bytes

no-deprecated-slots.md

File metadata and controls

31 lines (22 loc) · 619 Bytes

Pattern: Use of removed slot variable

Issue: -

Description

Prevents the use of removed slot variables.

Examples of incorrect code for this rule:

<v-dialog>
  <template #activator="{ on }">
    <v-btn v-on="on" />
  </template>
</v-dialog>

Examples of correct code for this rule:

<v-dialog>
  <template #activator="{ props }">
    <v-btn v-bind="props" />
  </template>
</v-dialog>

Further Reading