You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very much related to our discussion here. The same requirements regarding key with v-for exist for v-if, so maybe these should even be in the same rule, perhaps called require-key-on-stateful-enumerated-elements?
Style guide:
https://vuejs.org/v2/style-guide/#v-if-v-if-else-v-else-without-key-use-with-caution
Description:
This rule would enforce to add
key
property on elements withv-if
andv-else
directives if they're both of the same type.The text was updated successfully, but these errors were encountered: