v-ifdirectives on root element
This rule reports template roots with
v-if. Rendering of the whole component could be made conditional in the parent component (with a
v-if there) instead.
📖 Rule Details
This rule reports the template root in the following cases:
This rule was introduced in eslint-plugin-vue v9.12.0