-
Notifications
You must be signed in to change notification settings - Fork 112
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
Build errors in unrelated tsx files #47
Comments
Hum that's weird. Do you use the JSX shim? I think a will release a version specifically for Vue 3 and another for Vue 2. It becomes too complicated to manage dependencies and types with only |
I've been going through the versions and it looks like
Yes I imagine that would be complicated |
I'm having a similar issue, downgrading to v0.4.8 fixes this, thanks @hisuwh for the hint. |
Sorry for the lack of updates, I don't have much time recently to work on it. Will keep you updated |
Tell me if that fixes your problem |
Hi Victor, it seems to be working great, thank you for your work on the docs too! |
I'm getting a new error now:
|
@hisuwh Volar is returning this error? I'll check if htmlAttrs is declared |
Oh it's on tsx render function sorry |
Oh ok it's the build step that fails. Weird |
What if you assign the props explicitly rather than spread? |
I get the error on build and in Vs code |
I know where it comes from. I use the type |
@hisuwh Should be fixed on |
3.0.1? I'm using Vue 2. Is that right? |
Oh shit I though you were on Vue 3 aha |
My bad tbf - I never specified |
@hisuwh Try |
I'm having a similar error in Vue3 version
|
@hisuwh sorry i don't have much time lately i will look into it |
This error is not related to vue-chart-3 |
@hisuwh Still have the problem? |
@victorgarciaesgi upgraded to 2.0.3 and yes it seems I still have the same problem: |
@victorgarciaesgi any more guidance on this? |
I will look at it. It's really strange because the error only shows in the cli on the on the IDE |
Must be incompatibility issues between Vue 2 proxy and tsx. I it suits you, I can make additional exports like |
@victorgarciaesgi this might help - at least I can update for new features? |
I'm unable to upgrade from
[email protected]
to latestv0.5.11
as I am getting build errors in my Vue TSX files that are not using charts:I notice you have taken a dependency on
@vue/runtime-core
and@vue/runtime-dom
v3.2.20 (https://github.com/victorgarciaesgi/vue-chart-3/blob/main/package.json#L54) - I wonder if this could be a factor?The text was updated successfully, but these errors were encountered: