Tag Archives: Vetur Plugin Warning

[Solved] Vetur Plugin Warning: [vue-language-server] Elements in iteration expect to have ‘v-bind:key’ directives

Syntax error prompt:

[vue-language-server] Elements in iteration expect to have ‘v- bind:key ‘ directives.

In the Vue 2.2.0 + version, when using V-for in components, key is required

Change vetur configuration vscode – > Preferences – > Set – > Search (vetur)

“vetur.validation.template”:true,

Change to: false

if it’s a new version of vscode, find the check in front of vetur.validation.template and remove the restart editor.