解决Delete ␍
eslintprettier/prettier
添加 "vetur.format.defaultFormatter.js": "vscode-typescript",
最后从新跑项目,后面出现2个报错,解决方法:
中项目中找到.eslintrc.js文件的rules里添加如下代码:
//***ponent name "index" should always be multi-word报错
添加:"vue/multi-word-***ponent-names": "off", //关闭组件命名规则
//Replace `············` with `······`报错
"prettier/prettier": "off"