-
im doing a lot of modifications at sorry for a noob question but this is my first time using shadcn |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Package updates only affect the You can update just the packages by running |
Beta Was this translation helpful? Give feedback.
Package updates only affect the
package.json
orpackage-lock.json
. But if you are running the npx script again (the one given in the docs under the CLI option Eg:npx shadcn-ui@latest add carousel
) your modifications would be overwritten.You can update just the packages by running
npm update <package_name>
which does not overwrite the ui configs.