在用vscode编写vue代码时,因为安装的有vetur插件,所以当代码中有v-for语法时,会提示
[vue-language-server] 'v-for' directives require 'v-bind:key' directives.
解决方法:在配置文件添加一句:
"vetur.validation.template": false
在用vscode编写vue代码时,因为安装的有vetur插件,所以当代码中有v-for语法时,会提示
[vue-language-server] 'v-for' directives require 'v-bind:key' directives.
解决方法:在配置文件添加一句: