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

Most upvoted comments

Two things:

- shadcn/ui not recognizes that T3 uses an src directory fixed because of the new CLI

  • and it does not recognize that T3 uses typescript syntax for the tailwind config file

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