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]: Resize component is missing a component (Direct export from index.ts) #761

Open
2 tasks
aidan-galvia opened this issue Sep 12, 2024 · 2 comments
Open
2 tasks
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@aidan-galvia
Copy link

Reproduction

npx shadcn-vue@latest add resizable

Describe the bug

After running npx shadcn-vue@latest add resizable, I noticed that this component is missing ResizablePanel.vue.

image

I also checked your github and this file is not found in the latest version, however the Wiki and MD state there should be a component ResizablePanel

System Info

System:
    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (28) x64 Intel(R) Core(TM) i7-14700HX
    Memory: 17.80 GB / 31.03 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 18.19.0 - /usr/bin/node
    npm: 9.2.0 - /usr/bin/npm
  Browsers:
    Chrome: 128.0.6613.113

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@aidan-galvia aidan-galvia added the bug Something isn't working label Sep 12, 2024
@sadeghbarati sadeghbarati added documentation Improvements or additions to documentation question Further information is requested and removed bug Something isn't working labels Sep 15, 2024
@sadeghbarati
Copy link
Collaborator

sadeghbarati commented Sep 15, 2024

ResizablePanel (shadcn-vue) or SplitterPanel (radix-vue) is directly exported from

https://github.com/radix-vue/shadcn-vue/blob/dev/apps/www/src/lib/registry/default/ui/resizable/index.ts#L3

If you are using Nuxt use shadcn-nuxt module to cover this case, or check manual module tab in this link and add those components with addComponent function

@sadeghbarati
Copy link
Collaborator

Related issues which component directly exports from index.ts because there was no need to write a wrapper around those components

@sadeghbarati sadeghbarati changed the title [Bug]: Resize component is missing a component ResizablePanel.vue [Bug]: Resize component is missing a component (Direct export from index.ts) Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants