Vue solves the problem of space and blank line error reporting

Go to the webpack.base.conf.js file under the build folder

Then open the file, find the code under the figure and comment it out

After the comments are removed, when writing the page, the error will not be reported if the space is not standardized

Some versions of the webpack.base.conf.js file will write the space detection in a function as shown in the figure below, and then call it in the module. In this case, just comment out the line of code called:

  Note this line as shown in the figure



Similar Posts: