.eslintrc.js is configured as follows
description:
The problem with - is
"plugin:vue/essential" . If you comment it out, vscode will work properly.
-
npm run dev can run normally and will not report an error of export . Of course, an error will be reported if "plugin:vue/essential" is commented out.
looks like an error in the performance of "plugin:vue/essential" under vscode"s eslint?
currently my solution is to set the path of eslint to .eslintrc _ nuxt.js" in nuxt.config.js , so that eslint for nuxt and vscode will use different configuration files.
what is the reason for this? How to solve the problem?
