[vue/no-unused-vars]
‘scope‘ is defined but never used.eslint-plugin-vue
意思是声明了scope却没有使用它,这是vue的eslink插件检测的。
解决方案:
1、把vetur的eslint检查关闭
2、修改eslinttrc.js文件
‘no-unused-vars‘:‘off‘
3、项目配置中关闭ue/no-unused-vars
参考:https://www.pianshen.com/article/89071443900/
[vue/no-unused-vars] 'scope' is defined but never used.eslint-plugin-vue
原文:https://www.cnblogs.com/zhenling/p/14418840.html