pageClass | sidebarDepth | title | description |
---|---|---|---|
rule-details |
0 |
vue/no-root-v-if |
disallow `v-if` directives on root element |
disallow
v-if
directives on root element
- ❗ This rule has not been released yet.
This rule checks whether every template root is valid.
This rule reports the template root in the following cases:
<template>
<div v-if="foo"></div>
</template>
Nothing.