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
70.84k stars 4.26k forks source link

[feat]: Support for Vinxi applications #4982

Open fitimbytyqi opened 1 week ago

fitimbytyqi commented 1 week ago

Feature description

I would like Shadcn CLI to support Vinxi applications which under the hood uses ViteJS.

Currently on a Vinxi setup, shadcn's CLI complains that the framework is not supported, I'm assuming it does that because in Vinxi codebase, the vite.config.ts is usually named app.config.ts.

I was able to solve this by renaming app.config.ts -> vite.config.ts but I would like the CLI to understand that app.config.ts is a ViteJS app too.

Affected component/components

No response

Additional Context

Additional details here...

Before submitting

fitimbytyqi commented 4 days ago

I can make a PR for this if needed, let me know.