在vue项目中出现报错:Newline required at end of file but not found 原因是vue项目中打开了eslint代码规范,要在js 、css 的结束代码加一行空格就可以了