After searching for a long time, I found that the online solutions didn’t work very well. After trying for two days, I finally solved the bug. This solution is only for vue3. After all, I didn’t encounter this bug with vue2, so I don’t know if it works.
Confirm that the eslint-plugin-vue
dependency has been installed
Add the following configuration in the .eslint.js
configuration file
Okay, these are the vue3 error reporting solutions I have compiled. Collect if you like!