vscode的vetur插件提示 [vue-language-server] Elements in iteration expect to have 'v-bind:key' directives错误的解决办法
2018-02-26 15:21
477 查看
1.使用VS Code 出现如下问题,如图
Vue 2.2.0+的版本里,当在组件中使用v-for时,key是必须的。
2.更改vetur配置
vscode->文件->首选项->用户设置
找到 "vetur.validation.template" 改为false
"vetur.validation.template": false
相关文章推荐
- vetur插件提示 [vue-language-server] Elements in iteration expect to have 'v-bind:key' directives错误的解决办法
- vetur插件提示 [vue-language-server] Elements in iteration expect to have 'v-bind:key' directives错误的解决办法
- vetur插件提示 'v-for' directives require 'v-bind:key' directives.错误的解决办法
- vetur插件提示 'v-for' directives require 'v-bind:key' directives.错误的解决办法
- VSCode的vetur插件提示 Vue中的v-for有[vue-language-server]错误
- vue2.0 vetur插件提示 'v-for' directives require 'v-bind:key' directives 的解决办法
- vscode中vetur插件 [vue-language-server] Elements in iteration expect to have 'v-bind:key' directives错误
- vscode 中 安装插件 vetur 之后报错 The Vue Language Server server crashed 5 times in the last 3 minutes. The s
- vue 插件vetur提示错误
- weiphp 3.0创建插件提示错误解决办法 提示您没有创建目录写入权限,
- element 结合vue 在表单验证时有值却提示错误的解决办法
- word与有道插件冲突导致word打开提示有关宏错误解决办法!
- Win7/Win8中注册控件失败,提示“DllRegisterServer的调用失败,错误代码为0x******** ” 问题的解决办法
- 关于ThinkPHP下使用Uploadify插件 仅有火狐提示HTTP Error (302)错误的解决办法
- Silverlight插件安装失败,提示1603错误号的解决办法
- eclipse安装插件提示Duplicate Location错误的解决办法
- Mac上csv导入mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option解决办法
- Discuz!教程之应用中心安装插件提示“数据下载错误(105)”的解决办法
- mysql导出表到CSV文件方法及提示错误[Err] 1290 - The MySQL server is running with the --secure-file-priv option解决办法
- IIS7.0 调试ASP程序时候,程序有错误只提示"An error occurred on the server when processing the URL.Please contact the system administrator",看不到详细的提示的解决办法