vue中eslint报错的解决方案

1,Newline required at end of file but not found. (eol-last) //文末需要一行

这个是报错:

这个是不报错的:

只需要在最后一行加上一空行即可。

posted @ 2018-05-08 14:10  tangjiao_Miya  阅读(928)  评论(0编辑  收藏  举报