ui icon indicating copy to clipboard operation
ui copied to clipboard

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

Open imMatheus opened this issue 1 year ago • 2 comments

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

  • [X] I've made research efforts and searched the documentation
  • [X] I've searched for existing issues

imMatheus avatar Sep 26 '24 16:09 imMatheus

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

imMatheus avatar Sep 26 '24 16:09 imMatheus

But i think this is not an issue

aditya74841 avatar Sep 27 '24 21:09 aditya74841

This issue has been automatically marked as stale due to one year of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you. (This is an automated message)

shadcn avatar Sep 27 '25 23:09 shadcn

This issue has been automatically closed due to one year of inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding! (This is an automated message)

shadcn avatar Oct 05 '25 23:10 shadcn