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]: Copy button does not open package manager choice #4974

Open
2 tasks done
imMatheus opened this issue Sep 26, 2024 · 2 comments
Open
2 tasks done

[bug]: Copy button does not open package manager choice #4974

imMatheus opened this issue Sep 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@imMatheus
Copy link

Describe the bug

All "copy this command" sections throughout the docs have a menu that prompts you if you would like to copy this command with npm, yarn, pnpm, or bun. But I found one place in the "getting started with Vite" docs where it does not. At step 5 in the guide where it tells you to copy-paste the dev dependency for @types/node, it does not ask for a package manager but just copy-pastes the npm version.

Link to page: https://ui.shadcn.com/docs/installation/vite

Affected component/components

No compoent

How to reproduce

  1. Go to https://ui.shadcn.com/docs/installation/vite
  2. Go to step 5
  3. Click the copy button for the npm i -D @types/node command

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Google chrome on a mac

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@imMatheus imMatheus added the bug Something isn't working label Sep 26, 2024
@imMatheus
Copy link
Author

If this is deemed an issue, i could make a PR for a fix 🙏

@aditya74841
Copy link

But i think this is not an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants