Vue系列---【error Newline required at end of file but not found eol-last】 之所以会报错,是因为项目中引入了ESLint,所以语法校验比较严格,建议不用,不然双引号分号还有多行空格都会报错 愿你走出半生,归来仍是少年!