ui: Command is not working with t3 app
The command pnpm dlx shadcn-ui init does not work with the t3 app (already included there tailwind)
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 1
- Comments: 16
The command pnpm dlx shadcn-ui init does not work with the t3 app (already included there tailwind)
Two things:
- shadcn/ui not recognizes that T3 uses an src directoryfixed because of the new CLI@FleetAdmiralJakob Here’s an example repo from @juliusmarminge https://github.com/juliusmarminge/t3-complete
Based on what you’ve shared with me, it seems that the issue was because the configuration of t3-complete was outdated. Alternatively, you could have used the configuration from shadcn/ui, even though it’s a Typescript file, as the config is valid JavaScript.
And btw.: the tailwind styles are also not working anymore