Skip to content

Is it good to modify/edit the ui/components ? #3784

Answered by alvinsjoy
JUDE-EQ asked this question in Q&A
Discussion options

You must be logged in to vote

Package updates only affect the package.json or package-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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JUDE-EQ
Comment options

Answer selected by JUDE-EQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants