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
As stated in the Guide, v-for has a higher priority than v-if, so v-for when used together with v-if is a problem.
However, v-for has a lower priority than v-else, so v-for when used together with v-else is a not problem.
So I think vue/no-use-v-if-with-v-for rule is working correctly. @mysticatea What do you think?
Tell us about your environment
Please show your full configuration:
What did you do?
The following code raises
vue/no-use-v-if-with-v-for
warning:However, if I change the order of the elements, I get no warning:
What did you expect to happen?
I expect that code to raise
vue/no-use-v-if-with-v-for
warning.What actually happened?
Nothing
The text was updated successfully, but these errors were encountered: