component has been registered but not used
今天遇到了一个很容易,但是也很难的问题:关于添加组件和eslint的规范的问题
首先,我添加了一个组件BarChart,import之后,在component中也添加了,但是程序运行的时候,报错,The “BarChart” component has been registered but not used (vue/no-unused-components),意思是该组件未使用,
然后我就看类...
原创
2019-08-08 09:17:08 ·
20714 阅读 ·
2 评论