4👍
As noted in the error message, you can fix the problem by running the following command:
$ npm run lint -- --fix
In the future, you can get VSCode to automatically fix these problems by installing the ESLint extension, and enabling the eslint.autoFixOnSave
option as documented here: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
- [Vuejs]-Controlling a prop class from the child component in vue
- [Vuejs]-Why it is needed to use :key on a child component element
Source:stackexchange.com