报一堆红线:Property 'stamp' does not exist on type 'Vue'.Vetur(2339)

像这样代码一堆红线,但是没有任何的报错信息,不影响功能时,这个是Vetur的插件引起的

解决方法:

  1. 在VSCode中找到设置-----用户------扩展----Vetur

  2. 按照下边的方式,找到这个将勾选去掉

  如图所示即可:

报一堆红线:Property 'stamp' does not exist on type 'Vue'.Vetur(2339)

相关文章: