ui icon indicating copy to clipboard operation
ui copied to clipboard

CLI: typescript option for tailwind.config

Open blusrc opened this issue 1 year ago • 2 comments

when using npx shadcn-ui init with typescript project (i.e. create-t3-app) it creates tailwind.config.js and needs to be manually changed. Maybe CLI could see the existing tailwind config and based on .ts or .js extension edit it.

blusrc avatar Apr 19 '23 11:04 blusrc

@blusrc I'm working on adding create-t3 support out of the box.

shadcn avatar Apr 19 '23 11:04 shadcn

@shadcn @blusrc with the PR that I created https://github.com/shadcn/ui/pull/245, basically we can add features like this without much effort.

Princezhm avatar Apr 24 '23 15:04 Princezhm