Skip to content

Can you update swizzle components? #10781

Answered by slorber
jcubic asked this question in Q&A
Discussion options

You must be logged in to vote

We don't have any other way than swizzling them again.
If you use Git you can then see the diff from what was previously committed, and find a way to merge changes from Docusaurus with your former version.

We'd like to improve things but it's probably not so easy. Here are related issues:

There's also shadcn/ui CLI that somehow has a similar distribution model and similar problems to solve. They have a cli diff command to help. Maybe we could reuse or take inspiration from it. See also shadcn-ui/ui#790

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jcubic
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