shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
69.78k stars 4.17k forks source link

[feat]: support for rsbuild #4756

Open pratyushseq opened 2 weeks ago

pratyushseq commented 2 weeks ago

Feature description

Right now Shadcn supports frameworks like Next.js, Vite, Astro, etc... However a popular choice these days are Rsbuild as it's extremely fast and lean. It would be great if we could directly initialize & install components via init or the CLI in rsbuild.

Before submitting

MikeTeddyOmondi commented 5 days ago

@pratyushseq I really support this cause Rsbuild has reached a stable version and I think instead of manually scaffolding the project

Just ran into the same issue

✔ Preflight checks.
✖ Verifying framework.

We could not detect a supported framework at /home/picasso/Desktop/src/projects/js-ts/react-rspack.
Visit https://ui.shadcn.com/docs/installation/manual to manually configure your project.
Once configured, you can use the cli to add components.
gustavocadev commented 4 days ago

I would like to as well!