Every time the code is saved, a build failed error message pops up

Project scene:

Novices who are just starting to build projects based on vue-ui may encounter build failed every time they save the code, and a build failed error will appear in the lower right corner, which seriously affects our project coding experience.
Some people use lint to automatically detect and modify commands, but they can only solve the fur and it is very cumbersome.

Problem Description:

I just created the project, every time I save the code, a build failed pops up and an error is reported
Insert picture description here

solution:

Close ESlint through the configuration in the home page of vue-ui (as shown below)
Insert picture description here

Don’t forget to click “Save” in the lower right corner.

ps: Reason-[ESlint is a tool for automatic code detection & error correction. It is turned on by default, so you have to turn it off manually]

Guess you like

Origin blog.csdn.net/zhongheng310/article/details/113361359