vue学习笔记 'scope' is defined but never used解决方法总结

查了网上的解决方法,
一种是 scope这个属性在最新版本vue已经被弃用,升级成slot-scope了 ,所以属性名应该改为slot-scope。
如何不行,那么可以尝试vetur中设置
把vetur的eslint检查关闭
就是把下面的钩去掉
vue学习笔记 'scope' is defined but never used解决方法总结
第二种 ‘scope’ is defined but never used仍然报错
还可以修改eslinttrc.js文件
vue学习笔记 'scope' is defined but never used解决方法总结
第三种,如果上面的仍然不行 页面仍然报错,就考虑你的页面 项目配置编译器的问题,怎么改?
vue学习笔记 'scope' is defined but never used解决方法总结
有些时候虽然VScode虽然可以通过编译,但是页面项目编译器设置那里又是另一回事,两者得不到统一,所以如果编译报错一个先检查vscode有没有错, 其次则是页面项目编译器设置那里有没有出问题