:smirk_cat:Vue is a progressive framework for building user interfaces. Vue is also perfectly capable of powering sophisticated Single-Page Applications when used in combination with modern tooling and supporting libraries.
解决方法:
依次点击:文件——首选项——设置,在打开的页面点击,用户——拓展——vetur
然后疯狂下滑,找到Validation: Interpolation一栏,看到这里有一句:
validate interpolation in region using TypeScript language service
大意就是按照TypeScript 的语法规则去校验中的语句。
关闭该选项即可。
打开项目突然编辑器一堆红色报错
百度说该报错与typescript相关,但项目只是vue框架,没有引入ts 所以跟Vetur插件相关 应该是Vetur插件更新的原因
解决方法: 依次点击:文件——首选项——设置,在打开的页面点击,用户——拓展——vetur 然后疯狂下滑,找到Validation: Interpolation一栏,看到这里有一句: validate interpolation in region using TypeScript language service 大意就是按照TypeScript 的语法规则去校验中的语句。 关闭该选项即可。