-
Notifications
You must be signed in to change notification settings - Fork 87
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
Not working in Vue3 at all #76
Comments
Did you definitely install the
I know that some people have had some issues with the Vue 3 version, but unfortunately, despite some efforts, nobody has been able to reproduce their problem outside of their projects. |
I have indeed installed the @next version which installs 2.1.0. |
Typescript seems to throw up and say vue-star-rating is undefined or not installed when building for production. However it seems to function in a development environment. For now I just added |
same problem with vue 3 on my project. any update for this package ? thanks very much |
Also facing an error with this, any updates? Thanks |
I'm going to check this out in one of my Vue 3 projects to see if I can replicate it. To me, this error looks like it comes from the transpilation of the component, but it was transpiled with the Vue CLI using this command:
For now, one option would be to transpile it yourself by importing |
not sure if this is the issue people are experiencing but if the compiler (webpack for me) option is |
Hi, everyone. I'm using Nuxt 3 and got the same trouble. I've added to node_modules/vue-star-rating index.d.ts which includes one line "declare module 'vue-star-rating';". It helped me. |
Im using version 2.1.0
if i import using createapp, then it breaks the entire compilation of vue saying it cannot call method mount of undefined.
if i import it as a component from within a component I get the following errors:
Just for using import StarRating from 'vue-star-rating' you get the following error in console
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getElementsByTagName')
then we actually using the component you get the following error.
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'isCE')
is there something i'm missing? I have used this loads of times in vue2 with no issues.
The text was updated successfully, but these errors were encountered: