MatheusrdSantos / vue-quick-chat

A simple chat component created with Vue.js
MIT License
128 stars 45 forks source link

Unknown custom element: <v-icon> - did you register the component correctly #15

Closed jeanfre777 closed 4 years ago

jeanfre777 commented 4 years ago

I get this message after installing via npm, and trying the example code you provide.

Unknown custom element: - did you register the component correctly

Thanks

MatheusrdSantos commented 4 years ago

Hi, @jeanfre777! Could you post here the exact steps to reproduce the error? I'll try to reproduce and solve the error in the next few days. Thanks for reporting the error.

jeanfre777 commented 4 years ago

Hi, I installed this package with NPM (npm install vue-quick-chat --save) in one of my existing Vue projects. I tried to use the component in one of my views, and I got the error. I did not tried anything else. Thank you !

MatheusrdSantos commented 4 years ago

I tried to reproduce the error in a new project on my computer but without success. I guess the problem is happening because v-icon was moved to dev dependencies. So I don't know whether the problem is happening only with you (because of a specific problem) or it is a general problem. The second case can be easily solved by me adding v-icon to project dependencies.

MatheusrdSantos commented 4 years ago

In case you still facing this problem I can try to reproduce the error in another machine. So, if I found it, I'll add 'v-icon' to project dependencies.

Thanks again.