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.
Similar Posts:
- [Solved] VScode error: vetur can’t find ‘tsconfig. JSON’ or ‘jsconfig. JSON’. Solution to red wave error “vetur. Ignoreprojectwarning”: true,
- [Solved] Vue3 vetur error: has no default export component is not exported
- Error reporting when using empirical decorators in vscode
- [Solved] Ubuntu 18.04 installation vscode configuration and error reporting
- How to Solve the error in JSON file of eclipse
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent’ of undefined
- remove-weknow-ac from mac chrome
- [Solved] Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] django DRF This field may not be null, This field cannot be blank