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

[Bug]: ERROR adding chart to project vue javascript #949

Open
2 tasks
mrtampan opened this issue Dec 9, 2024 · 0 comments
Open
2 tasks

[Bug]: ERROR adding chart to project vue javascript #949

mrtampan opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working detypes Generate vanilla JavaScript samples from TypeScript

Comments

@mrtampan
Copy link

mrtampan commented Dec 9, 2024

Reproduction

https://stackblitz.com/~/github.com/mrtampan/vue-shadcn

Describe the bug

When I am using the chart component, it suddenly show an error like this::

Screenshot 2024-12-09 at 13 59 10

Location error is in chartsingletooltip.vue .

I try fix with remove default(tick: number) => '${tick}' replace to default(tick) => '${tick}'

This works, but I can't push the code because it breaks the TypeScript code

Screenshot 2024-12-09 at 14 39 29 Screenshot 2024-12-09 at 14 42 54

System Info

System:
    OS: macOS 14.4.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 328.50 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    npm: 10.5.0 - ~/Library/Application Support/Herd/config/nvm/versions/node/v18.20.2/bin/npm
  Browsers:
    Chrome: 131.0.6778.109
    Safari: 17.4.1
  npmPackages:
    @vueuse/core: ^12.0.0 => 12.0.0 
    radix-vue: ^1.9.10 => 1.9.10 
    vue: ^3.5.13 => 3.5.13

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@mrtampan mrtampan added the bug Something isn't working label Dec 9, 2024
@sadeghbarati sadeghbarati added the detypes Generate vanilla JavaScript samples from TypeScript label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working detypes Generate vanilla JavaScript samples from TypeScript
Projects
None yet
Development

No branches or pull requests

2 participants