I used the VS Code tool, installed the vetur plug-in, and the error was reported as follows
[eslint-plugin-vue] [vue/require-v-for-key] Elements in iteration expect to have’v-bind:key’ directives.eslint-plugin-vue
In the Vue version, when using v-for in a component, the key is necessary.
Solution:
In File -> Preferences -> Settings -> Enter in the search box: vetur.validation.template-“Find vetur.validation.template: true-“
Reset vetur.validation.template: true to false in the right frame and it is ok.
If there is no code for this game, add a sentence: “vetur.validation.template”: false
Read More:
- An error is reported when the electron Vue Vue component introduces the electron
- Vue failed to log in. F12 reported an error: request failed with status code 404
- [Tomcat] an error is reported when Tomcat starts ERROR:transport error 202:bind failed:Address already
- An error is reported when the laptop is turned on: image failed to verify with * access denied* press any key to continue
- valueError: Length mismatch: Expected axis has 40 elements, new values have 38 elements
- Vscode development Vue project eslint check error
- An error was reported on the command line of Vue when it first wrote a small project: expected indentation of 4 spaces but found 6
- Declarative development tab in Vue
- [_ Note] Vue.js reported an error: Cannot read property’validate’ of undefined”
- After Vue is packaged, a blank page appears, an error is reported in the resource request, and there is no error handling scheme
- The Vue project does not install node sass and an error is reported
- An error is reported when passing data pages using Ajax: Vue is not defined
- Error in created hook: “referenceerror:” promise “undefined” Vue cli project Google is right, ie reported an error, “promise” undefined“
- An error is reported when using SecureCRT to log in to a non root account
- The Vue project is packaged and deployed to tomcat, and an Error 404 is reported as soon as it is refreshed
- Vscode automatically formats the code when an error is reported
- Failed to download resource “expect_bottle_manifest“
- nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
- An error is reported in the compiler require of laravel: installation failed, reversing/ composer.json to its original content.
- Handling of expression not in group by key [value] reported by hive on October 12, 2020