Skip to content
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

[Question] Types not found in v1.0? #1377

Open
ccmetz opened this issue Sep 21, 2021 · 2 comments
Open

[Question] Types not found in v1.0? #1377

ccmetz opened this issue Sep 21, 2021 · 2 comments

Comments

@ccmetz
Copy link

ccmetz commented Sep 21, 2021

I noticed that between v0.23 and v1.0, the src/index.d.ts file was removed. When I import vue-gl in my Vue project, my IDE (VSCode) isn't able to find any types and I end up having to create a custom index.d.ts file with declare module 'vue-gl'; in it. Is this expected or am I doing something wrong when importing vue-gl?

Also bonus question: I see that Vue2.6 is a peer dependency. Does this library work with Vue3?

Thank you!

@h-ikeda
Copy link
Member

h-ikeda commented Sep 22, 2021

Thank you for reporting.
I forgot about type definitions when rewriting scripts (because I'm a not typescript user...).
They should be added in next release.

@h-ikeda
Copy link
Member

h-ikeda commented Sep 22, 2021

And it does NOT work with Vue3 yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants