报错:Mixed spaces and tabs no-mixed-spaces-and-tabs

The error message is as follows:

Insert image description here
Cause analysis: CSS style indentation problem

solution

1. Simply reset the indentation, as follows:
Insert image description here
2. Modify the package.json file.
Find eslintConfig in package.json and add response rules:

"no-mixed-spaces-and-tabs":0

Note: You need to restart
npm run serve

Supongo que te gusta

Origin blog.csdn.net/weixin_49339471/article/details/133137328
Recomendado
Clasificación