Replies: 2 comments
-
There isn't an easy way to do that. 2.4.1 is the latest Shadcn version for the CLI, but that doesn't have anything to do with component versioning. The CLI has diff and migrate commands, but they aren't too helpful. You will still need to manually merge upstream changes with your own. Shadcn's guideline is that once you install the components, they become your code and you are responsible for updating them. If you make changes, you will need to integrate Shadcn's changes with your changes. The documentation for some components (button for example) contains a changelog section. There is a changelog, but it doesn't seem to be up to date. |
Beta Was this translation helpful? Give feedback.
-
I am wondering how to update my shadcn components? I saw that the latest version of shadcn is 2.4.0, but where is this defined and where do I see which shdacn version I am running? What do I need to do to get e.g. the fixes for a component, without overriding my old component, which I already adjusted heavily to fit my purposes?
Beta Was this translation helpful? Give feedback.
All reactions