-
-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No-unused-components reporting incorrectly #571
Comments
possible duplicate of #556 |
It seems that |
According to this plugins' documentation you don't have to register any component, but only the plugin and let it do the job (it will register import Vue from 'vue';
import VueImg from 'v-img';
Vue.use(VueImg); |
@michalsnik but if I don't want to register it globally, but just for a single component? |
I still have the same issue |
It should probably be put in |
Hi @michalsnik and others, have you found a solution regarding this issue? I am experiencing the same.
The first two components get recognized with no problem. When it comes to VCheckbox, I get: component registered, but not used? Looking forward to hearing from you. Cheers |
@trajche18 Are you using it in template? |
Hi @armano2, I certainly am.
|
Any updates on this @armano2 and other collaborators? |
I use the following component: https://github.com/crowdbotics/v-img
I have this:
When I run
eslint
I get the following error:error The "VueImg" component has been registered but not used vue/no-unused-components
I'm guessing this is probably because the component is not instantiated directly, but rather just attached to the
<img>
tag.I'm using
^5.0.0-beta.3
The text was updated successfully, but these errors were encountered: