Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ask for way to run jolly ui components side-by-side with shadcn ui components #82

Open
mw10013 opened this issue Dec 18, 2024 · 1 comment

Comments

@mw10013
Copy link

mw10013 commented Dec 18, 2024

Ask for a way to run jolly ui components side-by-side with shadcn ui components. For example, to have jolly button and shadcn button appear on the same page. Seems that jolly will install over (ie. overwrite) any shadcn components files with conflicting names.

@jolbol1
Copy link
Owner

jolbol1 commented Jan 30, 2025

This could be done if the following bug is fixed: shadcn-ui/ui#6202

You would the be able to run pnpm dlx shadcn@latest add -p components/jolly-ui https://jollyui.dev/default/button, and it would install it to a jolly-ui folder.

You could temporarily fix this by changing the UI alias in the components.json, running the CLI and then changing it back right after.

  "aliases": {
    "components": "@/components",
    "utils": "@/lib/utils",
    "ui": "@/components/jolly-ui", 
    "lib": "@/lib",
    "hooks": "@/hooks"
  },

Will leave open until CLI is fixed, and update docs to make this clearer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants