1.下面是运行 之后 错误信息 :
C:\Users\Administrator\Desktop\新建文件夹\实战\项目\小兔鲜儿\erabbit-pc-vue-project\src\App.vue
27:1 error Expected indentation of 6 spaces but found 8 indent
28:1 error Expected indentation of 6 spaces but found 8 indent
30:24 error Missing space before => arrow-spacing
30:27 error Missing space after => arrow-spacing
31:1 error Expected indentation of 6 spaces but found 8 indent
31:9 error Expected space or tab after ‘//’ in comment spaced-comment
32:1 error Expected indentation of 6 spaces but found 8 indent
34:5 error Expected space(s) after “return” keyword-spacing
34:23 error A space is required after ‘,’ comma-spacing
34:33 error A space is required before ‘}’ object-curly-spacing
✖ 10 problems (10 errors, 0 warnings)
10 errors and 0 warnings potentially fixable with the --fix
option.
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
2.解决方法