Newline required at end of file but not found

最近在用Vue.js写一个项目 , 每次新建一个Vue文件时都会报这个错误 , 郁闷死了 . 怎么会有这种设计啊 , 在此记录一下 .
先展示一下错误截图:
Newline required at end of file but not found

造成这种错误的原因真是操蛋啊 .
需要在最后面在加上一行 , 就是再回车一下 , 加上一个空行 .
代码如下:
Newline required at end of file but not found

有大神可以告知一下 , 为什么要再加一行吗 ? 这种操作是什么意思 ?