Skip to content

vue/no-dupe-keys ​

Remove the duplicate key — properties and computed names must be unique

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

Why it matters ​

Remove the duplicate key — properties and computed names must be unique

How to fix ​

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

Agent Guidance ​

Rename or remove the duplicate; props, data, computed and methods must not share names.


Rule source: vue/no-dupe-keys

Released under the MIT License.