- ⚙️ This rule is included in all of
"plugin:vue/essential"
,"plugin:vue/strongly-recommended"
and"plugin:vue/recommended"
.
This rule enforce usage of exact
modifier on v-on
when there is another v-on
with modifier.
👍 Examples of correct code for this rule:
<template>
<button @click="foo" :click="foo"></button>
<button v-on:click.exact="foo" v-on:click.ctrl="foo"></button>
</template>
👎 Examples of incorrect code for this rule:
<template>
<button v-on:click="foo" v-on:click.ctrl="foo"></button>
</template>