Newline required at end of file but not found

深漂小碼哥發表於2020-11-07

Module Warning (from ./node_modules/eslint-loader/index.js):

  ✘  http://eslint.org/docs/rules/eol-last  Newline required at end of file but not found
  src\components\Cardmessage\index.vue:21:9
  </style>複製程式碼

Newline required at end of file but not found

在編譯vue是報錯,排查後是,在.vue檔案中</style>後加入空行後就能夠解決了。

Newline required at end of file but not found

解決方法:

Newline required at end of file but not found


相關文章