vscode插件不起作用怎么办?
vscode的eslint插件不起作用
最近在用vue进行开发,但是vscode中的eslint插件装上之后不起作用
1.vscode打开“设置”,选择settings.json
2.输入一段脚本
"eslint.validate": [ "javascript", "javascriptreact", { "language": "vue", "autofix": true }, "vue" ], "eslint.autofixonsave": true
3.之后重启一下vscode,vue的检查就生效了。
以上就是vscode插件不起作用怎么办的详细内容。