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
Module has no exported member #778
Comments
Thank you for reporting, do you mind providing a repo? I've tried on my vite playground but couldn't reproduce it |
Sorry for the delay. I've created a repo simillar to the one I had problems with, and the issue persisted. Here's a link to download the repo archived in a zip file: https://file.io/VBvt7aiMBjSo |
No worries, thank you, but it doesn't allow me to download it :D because the file has been deleted |
Same happens for usei18n. I am using vue3 with TypeScript. |
Can you run |
Whoops. This link should work for 14 days from now on: http://transfer.sh/6GaVQ/vue-composable-repo.zip |
That is caused by typescript version, the supported version is |
Oh. So it was this trivial 😁️. |
Just added, glad to see it fixed, I usually keep my typescript on the latest on all my projects. @Herdismaria do you still have the same problem after updating to typescript@4? |
No, that was the issue for me also. Thanks a lot for the help and for this awesome library 💯 |
After importing
import { useCssVariables } from "vue-composable"
in thesetup()
function, accessingconst { supported } = useCssVariables({})
, program return this error:TS2305: Module '"../../../node_modules/vue-composable/dist/vue-composable"' has no exported member 'useCssVariables'.
I am using vue3 with TypeScript.
I have previously installed the package with
npm install --save vue-composable
and restarted thenpm run serve
afterwards.vue-composable
version:"^1.0.0-beta.18"
The text was updated successfully, but these errors were encountered: