有个组件在template中引入后script中还是报错'XXX' is declared but its value is never read,按以下布置解决
1.在禁用vetur
2.在设置里面搜索vetur,取消下图勾选
3.安装插件volar,如下图两个
4.在设置里面搜索volar,勾选下图选项
5.重启vscode
ps:还是不行的话升级vscode,我升级后就好了
有个组件在template中引入后script中还是报错'XXX' is declared but its value is never read,按以下布置解决
1.在禁用vetur
2.在设置里面搜索vetur,取消下图勾选
5.重启vscode
ps:还是不行的话升级vscode,我升级后就好了