Skip to content

vue/valid-v-on ​

Fix the v-on / @ directive syntax

PropertyValue
CategoryCorrectness
Default Severityerror
Confidencehigh
FixableNo
Engineeslint-template
Sincev1.0.0
Frameworksvue, nuxt

Why it matters ​

Fix the v-on / @ directive syntax

How to fix ​

Review the finding and update the code according to best practices below.

Agent Guidance ​

Fix the v-on/@ syntax: it needs an event name and a valid handler expression or method.


Rule source: vue/valid-v-on

Released under the MIT License.