As a novice who just learned Vue, Vue is really a big headache. It was hard to set up the Vue environment. As a result, when using ElementUI, an error was reported again. The error was reported when running
eslint-disable-next-line no-unused-vars
Solution:
In fact, eslint is used in the project
to add "rules" in package.json
"generator-star-spacing": "off",
"no-tabs":"off",
"no-unused-vars":"off",
"no-console":"off",
"no-irregular-whitespace":"off",
"no-debugger": "off"
It should not be wrong, there is something wrong, I hope you can forgive me!