hrnxm
TTCTheo's Typesafe Cult
•Created by hrnxm on 1/14/2024 in #questions
No background color for shadcn/ui components in T3 app
I solved the problem while posting the question but decided to keep it for reference.
Basically: the "@" directory was in the root of my project instead of src. I moved @/components and @/lib into src, updated component imports and components.json, and everything worked. I think I gave the wrong directory while initializing shadcn.
3 replies